laravel creat enew controller code example
Example 1: how to make controller in laravel
php artisan make:controller ShowProfile
Example 2: laravel create resource controller
php artisan make:controller PhotoController --resource --model=Photo
php artisan make:controller ShowProfile
php artisan make:controller PhotoController --resource --model=Photo