routinier/seeders

Base seeders for our laravel applications.

1.0.0 2020-07-05 04:48 UTC

This package is auto-updated.

Last update: 2024-04-05 12:47:50 UTC


README

Database seeders for our laravel applications. Basically its a stripped down copy of spatie/seeders. Many thanks to them for the initial work on creating package. That we try to extend and keep maintained.

Install

You can install the package via composer.

$ composer require routinier/seeders

Overview

This package provides the base database seeders for our Laravel applicationd. The Routinier\Seeders\DatabaseSeeder class adds some extra utility to laravel's seeder.

Our classes for recurring, specific parts of our application.

Example

use Routinier\Seeders\DatabaseSeeder as BaseDatabaseSeeder; 
use Routinier\Seeders\StringSeeder; 

class DatabaseSeeder extends BaseDatabaseSeeder
{
    public function run(): void 
    {
        parent::run(); 

        $this->call(StringSeeder::class);
        $this->call(MySeeder::class);
    }
}

Changelog

Please see CHANGELOG for more information what has changed recently.

Security

If you discover any security related issues, please see our Security policy instead of using the public issue tracker.

Credits

License

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