Often forget what your seeder classes are called? This package can make db:seed
interactive so you can see a list and choose which seeders to run (and which additional seeders will be called).
You can install the package via composer:
composer require morrislaptop/laravel-seed-list
Configure your default seeder to extend the LaravelSeedLister
provided by the package:
<?php
namespace Database\Seeders;
use Morrislaptop\LaravelSeedList\LaravelSeedLister;
class DatabaseSeeder extends LaravelSeedLister
{
}
php artisan db:seed
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.