nova:policy

Create a new policy class

Options

  • force - Create the class even if the policy already exists Optional
  • resource - The resource that the policy applies to Optional

Arguments

  • name - The name of the policy Required
php artisan nova:policy [-f|--force] [-m|--resource [RESOURCE]] [--] <name>