2017 © Pedro Peláez
 

library seedster

image

eklundkristoffer/seedster

  • Thursday, May 10, 2018
  • by cornex
  • Repository
  • 1 Watchers
  • 3 Stars
  • 197 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 17 % Grown

The README.md

Latest Stable Version Total Downloads License: MIT, (*1)

seedster

Register laravel seeds from a package, (*2)

Installation

require the project using Composer:, (*3)

composer require eklundkristoffer/seedster

or manually update your require block and run composer update, (*4)

{
    "require": {
        "eklundkristoffer/seedster": "^5.0"
    }
}

Usage

You can now register a seed from any service provider, (*5)

use Mypackage\Database\Seeds\PostsTableSeeder;
use Mypackage\Database\Seeds\UsersTableSeeder;

public function register()
{
    $this->app['seed.handler']->register(
        UsersTableSeeder::class
    );

    // Or register an array of seeds
    $this->app['seed.handler']->register(
        [UsersTableSeeder::class, PostsTableSeeder::class, ...]
    );
}

The Versions

10/05 2018

dev-master

9999999-dev

  Sources   Download

MIT

The Requires

 

09/02 2018
09/02 2018
08/01 2018
21/08 2017
16/02 2017

1.0

1.0.0.0

  Sources   Download

MIT