laravel resource api code example
Example: laravel make api resource
php artisan make:resource User --collection
php artisan make:resource UserCollection
php artisan make:resource User --collection
php artisan make:resource UserCollection