consuming api in laravel 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