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

make:rule

Create a new validation rule

Arguments

  • name - The name of the class Required
php artisan make:rule <name>