Creating a request
To create a request, we use the “php artisan make:module:request ModuleName requestName” command.
php artisan make:module:request blog BlogRequest
This will create a request in the path modules/blog/src/Http/Requests/BlogRequest.php