PHPackages                             dbt/command-seeder - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. dbt/command-seeder

ActiveProject[Database &amp; ORM](/categories/database)

dbt/command-seeder
==================

Command-based seeding for Laravel

1.0.0(3y ago)1260MITPHPPHP ^8.1

Since May 1Pushed 3y ago1 watchersCompare

[ Source](https://github.com/DeBoerTool/command-seeder)[ Packagist](https://packagist.org/packages/dbt/command-seeder)[ Docs](https://github.com/dbt/command-seeder)[ RSS](/packages/dbt-command-seeder/feed)WikiDiscussions trunk Synced 1mo ago

READMEChangelog (1)Dependencies (4)Versions (4)Used By (0)

Command Seeder for Laravel
==========================

[](#command-seeder-for-laravel)

An Artisan console command allows calling seeders with arguments.

Installation
------------

[](#installation)

```
composer require --dev dbt/command-seeder
```

Config
------

[](#config)

Publish the config file:

```
php artisan vendor:publish --provider="Dbt\CommandSeeder\CommandSeederServiceProvider" --tag="config"
```

Then populate the `seeders` key with a map like so:

```
'seeders' => [
    'my-seeder' => MySeeder::class,
];
```

Seeders
-------

[](#seeders)

Seeders must extend the `CommandSeederAbstract` class. Each seeder must provide a list of arguments:

```
public function argumentNames(): ArgumentNames
{
    return new ArgumentNames('firstArg', 'secondArg', 'etc');
}
```

These argument names will be matched up (by index) with the provided CLI arguments and will be passed into the `run` method. If the number of required arguments doesn't match the number of given arguments, an exception will be thrown.

Additionally, the command's `OutputStyle` is passed into the seeder's constructor so you can output to the console from the seeder:

```
public function run(Arguments $arguments, int $quantity): void
{
    $firstArg = $arguments->get('firstArg');
    $allArgs = $arguments->all();

    // Create some models...

    $this->output->info('Write some output...');
}
```

Usage
-----

[](#usage)

```
php artisan seed:command {seederName} {quantity} {...arguments}
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1112d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ebd3fe214b5768e700ae43c7fdc4b83d249972a6a97a0faef372d0ec19256eca?d=identicon)[danielsdeboer](/maintainers/danielsdeboer)

---

Top Contributors

[![danielsdeboer](https://avatars.githubusercontent.com/u/13170241?v=4)](https://github.com/danielsdeboer "danielsdeboer (5 commits)")

---

Tags

phplaraveldatabaseseedingdbt

###  Code Quality

TestsPHPUnit

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/dbt-command-seeder/health.svg)

```
[![Health](https://phpackages.com/badges/dbt-command-seeder/health.svg)](https://phpackages.com/packages/dbt-command-seeder)
```

###  Alternatives

[webparking/laravel-db-rebuild

A laravel package that allows for quick database rebuilds with presets.

448.8k](/packages/webparking-laravel-db-rebuild)[wayofdev/laravel-cycle-orm-adapter

🔥 A Laravel adapter for CycleORM, providing seamless integration of the Cycle DataMapper ORM for advanced database handling and object mapping in PHP applications.

3516.7k3](/packages/wayofdev-laravel-cycle-orm-adapter)[codewithkyrian/chromadb-laravel

ChromaDB Laravel is a Laravel client for the Chroma Open Source Embedding Database

144.1k](/packages/codewithkyrian-chromadb-laravel)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
