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