The Laravel Artisan Cheatsheet
A searchable, bookmarkable cheatsheet for
Laravel's
Artisan commands.
Home
API
Laravel Version
6.x
make:policy
🖥
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>
Click to copy