LaravelSeeding


Remarks

Database seeding allows you to insert data, general test data into your database. By default there is a DatabaseSeeder class under database/seeds.

Running seeders can be done with

php artisan db:seed

Or if you only want to process a single class

php artisan db:seed --class=TestSeederClass

As with all artisan commands, you have access to a wide array of methods which can be found in the api documentation