The Laravel Artisan Cheatsheet now has an API. Learn more.

make:seeder

Create a new seeder class

Arguments

  • name - The name of the seeder Required
php artisan make:seeder <name>