PHPackages                             happytodev/autoseed - 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. happytodev/autoseed

ActiveLibrary

happytodev/autoseed
===================

A package to automatically generate seeds files based on database structure

v0.0.1-alpha(5y ago)229MITPHP

Since Aug 29Pushed 5y ago1 watchersCompare

[ Source](https://github.com/happytodev/autoseed)[ Packagist](https://packagist.org/packages/happytodev/autoseed)[ RSS](/packages/happytodev-autoseed/feed)WikiDiscussions master Synced today

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Autoseed
========

[](#autoseed)

v0.0.1
------

[](#v001)

Caution : This package is in alpha version !

Description
-----------

[](#description)

Autoseed is a package to provide a new artisan command :

```
php artisan autoseed:generate

```

Obviously, prior to execute this command, you had to set your .env with your database credentials and you have to generate your models with

```
php artisan migrate

```

When it's done, you can launch the command.

This package will generate for you :

- factories files
- seeders files
- an updated DatabaseSeeder.php file
- a call to php artisan dump-autoload command (this command is integrated inthis package)
- a call to php artisan db:seed command to generate fake datas for you

This package use Faker library from François Zaninotto.

How it works
------------

[](#how-it-works)

Autoseed analyze your database extracts tables names and watch every fields. Autoseed try to associate automatically field to the good Faker data type bases on field name (ex. 'name' matches to $faker-&gt;name, 'title' matches to text(max = 50), etc.)

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

[](#installation)

You just need to launch this composer command :

```
composer require happytodev/autoseed

```

Limitations
-----------

[](#limitations)

Remember that this is currently an alpha version.

In this version, number of generate items are 10. If you want regenerate the files or use again the command, you should deletes files generated in database/factories and database/seeds directory and remove lines added in DatabaseSeeder.php

Futures versions
----------------

[](#futures-versions)

- Add config files (for settings table and fieds to ignore)
- Add parameters to determine how many items must be generated
- More smarter with more fields describe for a good association with faker data
- much more with your comments after use

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity40

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

2081d ago

### Community

Maintainers

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

---

Top Contributors

[![happytodev](https://avatars.githubusercontent.com/u/425998?v=4)](https://github.com/happytodev "happytodev (11 commits)")

---

Tags

artisan-commandautoseeddatabaseseederfactoriesfaker-dataphp

### Embed Badge

![Health badge](/badges/happytodev-autoseed/health.svg)

```
[![Health](https://phpackages.com/badges/happytodev-autoseed/health.svg)](https://phpackages.com/packages/happytodev-autoseed)
```

PHPackages © 2026

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