laravel command for create controller code example Example: how to create controller in laravel php artisan make:controller PhotoController --resource