make:policy

Create a new policy class

Options

  • model - The model that the policy applies to Optional

Arguments

  • name - The name of the class Required
php artisan make:policy [-m|--model [MODEL]] [--] <name>