Use the following artisan command in Laravel to generate a request: PHP artisan make:request UploadFileRequest