laravel 6.2 tutorial CREATE MODEL AND CONTROLLER STEP BY STEP code example
Example: use resource in laravel 8
php artisan make:controller PhotoController --resource --model=Photo
php artisan make:controller PhotoController --resource --model=Photo