php artisan make:policy
Create a new policy class
Usage
make:policy [-m|--model [MODEL]] [--] <name>
Arguments
name The name of the class
Options
-m, --model The model that the policy applies to
-h, --help Display this help message
-q, --quiet Do not output any message
-v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
-V, --version Display this application version
--ansi Force ANSI output
--no-ansi Disable ANSI output
-n, --no-interaction Do not ask any interactive question
--env The environment the command should run under