morrislaptop/laravel-seed-list

Make db:seed interactive

v0.3.0 2023-01-05 12:48 UTC

README

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

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).

screenshot

Installation

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
{
}

Usage

php artisan db:seed

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.