Seeds for Laravel by Laracademy
, (*1)
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., (*2)
Getting Started
The easiest way to get started is to install the package using composer
. You can do so by running the following command., (*3)
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., (*4)
Usage
To use the package you just need to run the artisan
command and follow the prompts on the screen., (*5)
php artisan seeds
Preview
, (*6)
Laravel 5.4 and lower
You will need to add the package into your service provider array found in config/app.php
., (*7)
providers = [
// listing of providers
Laracademy\Commands\SeedsServiceProvider::class,
// rest of providers
];