By the way, you can just return the model. Laravel will be output it as json. Is it cool?
When you change your app name you need to update your namespaces. "App\Providers\AppServiceProv...
We'd like to thank these amazing companies for supporting us
The Laravel portal for problem solving, knowledge sharing and community building.