Laravel - Controllers - Generating Form Requests

You may provide the --requests option when generating a resource controller to instruct Artisan to generate form request classes for the controller's storage and update methods:

    
    php artisan make:controller PhotoController --model=Photo --resource --requests