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