The Laravel team released 10.4 with a File::json() method, converting existing HasMany relationships to a HasOne relationship, a new test response assertion, and more.File::json() methodAustin White contributed a File::json() method as a convenience for getting JSON encoded data from a file:// Before$contents = File::get('sample.json');$data...