The Laravel Artisan Cheatsheet
A searchable, bookmarkable cheatsheet for
Laravel's
Artisan commands.
Home
API
Laravel Version
10.x
make:rule
🖥
make:rule
Create a new validation rule
Options
force
- Create the class even if the rule already exists
Optional
implicit
- Generate an implicit rule
Optional
Arguments
name
- The name of the rule
Required
php artisan make:rule [-f|--force] [-i|--implicit] [--] <name>
Click to copy