develop api in laravel 8 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