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