The Laravel Artisan Cheatsheet
A searchable, bookmarkable cheatsheet for
Laravel's
Artisan commands.
Home
API
Laravel Version
10.x
make:scope
🖥
make:scope
Create a new scope class
Options
force
- Create the class even if the scope already exists
Optional
Arguments
name
- The name of the scope
Required
php artisan make:scope [-f|--force] [--] <name>
Click to copy