A Resource is a class that turns an object into the JSON your consumers see. In most Laravel applications that object is an Eloquent model. Here it is a typed l...
Laravel, shipping fast.
Chapter 2 · A Request and a Response