laracademy / seeds
This package helps with database seeding.
1.0.2
2018-06-26 03:20 UTC
This package is auto-updated.
Last update: 2024-11-29 05:26:55 UTC
README
This package adds a new artisan
command which offers a better way to seed your database: You can select the seeder from a selection and during running you will get feedback on what is being done.
Getting Started
The easiest way to get started is to install the package using composer
. You can do so by running the following command.
composer require laracademy/seeds
That's it! Well, as long as you are using Laravel 5.5 or higher
. If you are using an older version of Laravel please see below.
Usage
To use the package you just need to run the artisan
command and follow the prompts on the screen.
php artisan seeds
Preview
Laravel 5.4 and lower
You will need to add the package into your service provider array found in config/app.php
.
providers = [ // listing of providers Laracademy\Commands\SeedsServiceProvider::class, // rest of providers ];