The Laravel Artisan Cheatsheet now has an API. Learn more.

make:rule

Create a new validation rule

Options

  • implicit - Generate an implicit rule. Optional

Arguments

  • name - The name of the class Required
php artisan make:rule [-i|--implicit] [--] <name>