laravel create Request command code example
Example 1: php artisan make:request
php artisan make:request User\CreateUserRequest
Example 2: laravel add request
$request->all() + ['index' => 'value'];
php artisan make:request User\CreateUserRequest
$request->all() + ['index' => 'value'];