I discovered Laravel and Lumen. I want to create a clean API. I would like to implement JSON API. I tested your library.
I discovered some errors in the documentation.
For the controller, it would indicate the need to put the controller in the directory "app/Http/Controllers/Api".
Since the namespace of the controller is not correct. There must be "App/Http/Controllers/Api".
In the routing Laravel should be added
Road :: resource ('orders', 'OrdersController');
Hello,
I discovered Laravel and Lumen. I want to create a clean API. I would like to implement JSON API. I tested your library. I discovered some errors in the documentation.
For the controller, it would indicate the need to put the controller in the directory
"app/Http/Controllers/Api"
. Since the namespace of the controller is not correct. There must be"App/Http/Controllers/Api"
.In the routing Laravel should be added
Road :: resource ('orders', 'OrdersController');