PHPackages                             amrachraf6699/laravel-smart-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. amrachraf6699/laravel-smart-seeder

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

amrachraf6699/laravel-smart-seeder
==================================

Interactive artisan command that makes database seeding more flexible and friendly.

v1.3.0(3mo ago)12MITPHPPHP ^8.1

Since Feb 1Pushed 3mo agoCompare

[ Source](https://github.com/amrachraf6699/smart-seeder)[ Packagist](https://packagist.org/packages/amrachraf6699/laravel-smart-seeder)[ RSS](/packages/amrachraf6699-laravel-smart-seeder/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (5)Used By (0)

Laravel Smart Seeder [![Packagist Version](https://camo.githubusercontent.com/aaeb327e7fa8f8b369eef71202530f25aac8aa128d6c451fd651f6fba0526d21/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616d72616368726166363639392f6c61726176656c2d736d6172742d7365656465722e737667)](https://packagist.org/packages/amrachraf6699/laravel-smart-seeder) [![Packagist Downloads](https://camo.githubusercontent.com/697383d361210ffc31196b542e055abe47140437e937bc796c298d3c01abcc34/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616d72616368726166363639392f6c61726176656c2d736d6172742d7365656465722e737667)](https://packagist.org/packages/amrachraf6699/laravel-smart-seeder)
============================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#laravel-smart-seeder--)

Smart, conversational control over your database seeders. Instead of memorizing class names or blindly re-running `php artisan db:seed`, Smart Seeder walks you through a friendly menu where you can explore every available seeder, choose one (or more), or run everything without typing extra arguments.

Use it whenever you want a guided seeding experience—whether you're onboarding a teammate, debugging a migration, or scripting up something for CI where clarity matters.

Highlights
----------

[](#highlights)

- A warm prompt that asks whether to run every seeder, the `DatabaseSeeder` entry point, or hand-pick one or more classes.
- Intelligent discovery of classes inside `database/seeders`, including nested folders, without any extra configuration.
- Multiple-selection mode accepts indexes, full class names, or even fuzzy matches so you can type `users` instead of the entire namespace.
- `--force` and `--class=` shortcuts for automation-friendly workflows (CI, scripts, or when you know exactly what you want).
- Gentle error messages when a seeder is missing or your selection is not understood.

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

[](#installation)

```
composer require amrachraf6699/laravel-smart-seeder
```

Laravel auto-discovers the service provider, so the command is ready right away.

Usage (friendly mode)
---------------------

[](#usage-friendly-mode)

```
$ php artisan db:smart-seed
What would you like to do?
  [0] Run every seeder inside database/seeders
  [1] Run the DatabaseSeeder entry point
  [2] Choose one or more seeders manually
 > 2

Seeders available in database/seeders:
  [1] UsersTableSeeder
  [2] ProductsTableSeeder
  [3] OrdersTableSeeder

Enter the number(s) or class name(s) you want to run (comma separated) > 1,3
 → Database\Seeders\UsersTableSeeder
 → Database\Seeders\OrdersTableSeeder

```

The prompt accepts indexes, class names, or partial names, so you can type `products` instead of the full namespace and still hit the right target.

Quick shortcuts
---------------

[](#quick-shortcuts)

Use `--force` when you want to run every discovered seeder without any prompts:

```
php artisan db:smart-seed --force
```

Target a specific seeder directly in scripts or automation with `--class=`:

```
php artisan db:smart-seed --class=UsersTableSeeder
```

Options &amp; Flags
-------------------

[](#options--flags)

- `--force`: skip prompts and seed everything that was found under `database/seeders`.
- `--class=`: execute a fully qualified or short seeder name immediately.

Supported Laravel versions
--------------------------

[](#supported-laravel-versions)

Laravel 8.x through 12.x (the package sticks to standard service providers and works with PHP 8.1+).

Contributing &amp; feedback
---------------------------

[](#contributing--feedback)

1. Fork the repo and create a feature branch with descriptive commits.
2. Keep the command logic inside `src/Console` and follow PSR-12 formatting.
3. Open a pull request and share how you’re using the command or what feedback you have.

Run `composer test` (placeholder stub) before submitting, or explain why tests aren’t available yet.

License
-------

[](#license)

MIT © Amr Achraf

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance81

Actively maintained with recent releases

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity46

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

Every ~0 days

Total

4

Last Release

100d ago

PHP version history (2 changes)v1.0.0PHP ^8.0

v1.2.0PHP ^8.1

### Community

Maintainers

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

---

Top Contributors

[![amrachraf6699](https://avatars.githubusercontent.com/u/168471094?v=4)](https://github.com/amrachraf6699 "amrachraf6699 (9 commits)")

### Embed Badge

![Health badge](/badges/amrachraf6699-laravel-smart-seeder/health.svg)

```
[![Health](https://phpackages.com/badges/amrachraf6699-laravel-smart-seeder/health.svg)](https://phpackages.com/packages/amrachraf6699-laravel-smart-seeder)
```

###  Alternatives

[illuminate/database

The Illuminate Database package.

2.8k52.4M9.4k](/packages/illuminate-database)[cybercog/laravel-love

Make Laravel Eloquent models reactable with any type of emotions in a minutes!

1.2k302.7k1](/packages/cybercog-laravel-love)[cviebrock/eloquent-taggable

Easy ability to tag your Eloquent models in Laravel.

567694.8k3](/packages/cviebrock-eloquent-taggable)[clickbar/laravel-magellan

This package provides functionality for working with the postgis extension in Laravel.

423715.4k1](/packages/clickbar-laravel-magellan)[genealabs/laravel-pivot-events

This package introduces new eloquent events for sync(), attach(), detach() or updateExistingPivot() methods on BelongsToMany relation.

1404.9M8](/packages/genealabs-laravel-pivot-events)[reedware/laravel-relation-joins

Adds the ability to join on a relationship by name.

2121.2M13](/packages/reedware-laravel-relation-joins)

PHPackages © 2026

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