2017 © Pedro Peláez
 

library laravel-partial-seeder

Only seed what you haven't seeded yet.

image

10pearls/laravel-partial-seeder

Only seed what you haven't seeded yet.

  • Friday, September 15, 2017
  • by sabiehahmed-tp
  • Repository
  • 1 Watchers
  • 0 Stars
  • 669 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 2 Versions
  • 64 % Grown

The README.md

LaravelPartialSeeder

Only seed what you haven't seeded yet., (*1)

About

This packages extends the seeding functionality with the addition of history control. This allows you to only run the seeders that you haven't run yet., (*2)

Installation

Install this package with the following command:, (*3)

composer require 10pearls/laravel-partial-seeder

ServiceProvider

Add the following line in providers, in the file config/app.php:, (*4)

DevMcC\LaravelPartialSeeder\ServiceProvider::class,

Commands

The following is a documentation about all available commands:, (*5)

Install

Usage

php artisan prtl-seeder:install [options]

Description

Creates the partial_seeds_history table, (*6)

Options

Standard Artisan command options., (*7)

Status

Usage

php artisan prtl-seeder:status [options]

Description

Show the status of each partial seeder, (*8)

Options

Standard Artisan command options., (*9)

Seed

Usage

php artisan prtl-seeder:seed [options]

Description

Seed the database with history controlled records, (*10)

Options

Standard Artisan command options., (*11)

--database[=DATABASE]

The database connection to seed, (*12)

--force

Force the operation to run when in production, (*13)

Make

Usage

php artisan make:prtl-seeder <name> [options]

Description

Create a new partial seeder class, (*14)

Arguments

The name of the class, (*15)

Options

Standard Artisan command options., (*16)

Note

Note #1

The created seeder is added into the partial_seeds directory, in the database directory (database)., (*17)

The Versions

15/09 2017

dev-master

9999999-dev

Only seed what you haven't seeded yet.

  Sources   Download

MIT License

database laravel seed seeder history seeds partial seeder laravel partial seeder 10pearls

07/07 2017

1.0.0

1.0.0.0

Only seed what you haven't seeded yet.

  Sources   Download

MIT License

by Avatar DevMcC

database laravel seed seeder history seeds