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