Laravel is a free and open-source PHP web framework, created by Taylor Otwell and intended for the development of web applications following the model–view–controller (MVC) architectural pattern and based on Symfony (https://en.wikipedia.org/wiki/Laravel). #%C2%A0 #api-resources API Resources Api Resources are HTTP protocol methods accessed by a client machine which requests a service provided by the server, for example, the GET method, is responsible for requesting a particular record or a set of data stored on the server. A resource-oriented API is generally modeled as a resource hierarchy, where each node is either a simple resource or a collection resource.
To solve these problems, Laravel provides a creation method of routes called resource, which configures each parameter and method automatically.