Download the PHP package nekoos/laravel-seed-drain without Composer

On this page you can find all versions of the php package nekoos/laravel-seed-drain. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-seed-drain

Laravel Seed Drain

CI Checks

Languages: English | Español

Incremental seed execution aligned with migrations.

artisan migrate --seed is useful for initial bootstrap, but it falls short in continuous automation workflows:

laravel-seed-drain simplifies this with an explicit temporary seeder queue. By default, it does not require additional database tables. Optionally, it can persist queue state in a dedicated database table.

What Problem It Solves

Core Idea

Register seeders during migration up().

Then execute a dedicated command to drain them.

Installation

Install the package via Composer:

Setup

Publish package files when you need to customize them:

Run migrations:

For contribution and local development guidelines, see CONTRIBUTING.md.

Proposed Public API

Default usage (default queue):

Explicit queues (fluent API):

By default, duplicate seeders are kept in the queue and executed in order.

Migration Example

seed:drain Command

Suggested options:

Examples:

seed:drain:doctor Command

Use diagnostics to validate the active queue store, lock setup, and queued items:

Events and Conditional Skip

The package dispatches events during drain execution:

You can skip a seeder conditionally from a listener:

Recommended Automation

Development:

Production:

Package Philosophy

Best Practices

Queue Persistence

When using SEED_DRAIN_STORE=cache, persistence depends on the selected cache store:

When using SEED_DRAIN_STORE=database:

Custom queue persistence is also supported by binding your own implementation of NekoOs\LaravelSeedDrain\Core\Contracts\QueueStoreInterface in the container.

Status

This README defines the target contract and API direction for the package.


All versions of laravel-seed-drain with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
illuminate/cache Version ^11.0|^12.0
illuminate/console Version ^11.0|^12.0
illuminate/contracts Version ^11.0|^12.0
illuminate/database Version ^11.0|^12.0
illuminate/support Version ^11.0|^12.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package nekoos/laravel-seed-drain contains the following files

Loading the files please wait ...