You can generate a request by following command.
php artisan next:request StoreBlog Blog
INFO
Generated request will be at app/Modules/BlogModule/Http/Requests/StoreBlogRequest.php
use Laranex\NextLaravel\Cores\Request;
class StoreBlogRequest extends Request
{
public function authorize(): bool
{
return false;
}
public function rules(): array
{
// here is your validation rules
}
}