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...
The Laravel portal for problem solving, knowledge sharing and community building.
The community