Creating a basic API using Laravel Documention for API Resources in Laravel See the different between returning a single resource and a collection