PHPackages                             florowebdevelopment/seeders - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. florowebdevelopment/seeders

Abandoned → [davidvandertuijn/laravel-after-seeders](/?search=davidvandertuijn%2Flaravel-after-seeders)Library[Utility &amp; Helpers](/categories/utility)

florowebdevelopment/seeders
===========================

Seeders

1.2(5y ago)01.4kMITPHPPHP &gt;=7.0.0

Since Nov 1Pushed 1y ago2 watchersCompare

[ Source](https://github.com/florowebdevelopment/seeders)[ Packagist](https://packagist.org/packages/florowebdevelopment/seeders)[ RSS](/packages/florowebdevelopment-seeders/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (3)DependenciesVersions (4)Used By (0)

Deprecated
==========

[](#deprecated)

This package is deprecated and will not be maintained.

Seeders
=======

[](#seeders)

[![Total Downloads](https://camo.githubusercontent.com/83ae11bd0e999dcb2cfb63f3e9741b599a7a1e775dbd5045e21c291356da5b96/68747470733a2f2f706f7365722e707567782e6f72672f666c6f726f776562646576656c6f706d656e742f736565646572732f642f746f74616c2e737667)](https://packagist.org/packages/florowebdevelopment/seeders)[![Latest Stable Version](https://camo.githubusercontent.com/9588c912e2b13ddeb70f521e9b8707352cd3953dcd88d870091f4576693cb07a/68747470733a2f2f706f7365722e707567782e6f72672f666c6f726f776562646576656c6f706d656e742f736565646572732f762f737461626c652e737667)](https://packagist.org/packages/florowebdevelopment/seeders)[![License](https://camo.githubusercontent.com/f842edb819db952c740820fd844f2e756bfe6a52ef91b3f500ce6d1c4faefbda/68747470733a2f2f706f7365722e707567782e6f72672f666c6f726f776562646576656c6f706d656e742f736565646572732f6c6963656e73652e737667)](https://packagist.org/packages/florowebdevelopment/seeders)

This library adds seeders with ***versioning*** support for [Laravel](https://laravel.com/), suitable for a ***production environment***. The seeders are stored in the *database/seeders* directory using JSON format. Progress is tracked in the seeders table. so that the seeder is only run once.

Install
-------

[](#install)

```
composer require florowebdevelopment/seeders

```

```
php artisan migrate
```

Usage
-----

[](#usage)

### Create a new seeder and fill it manually.

[](#create-a-new-seeder-and-fill-it-manually)

With the command below you create an empty seeder, good if you are already familiar with the JSON structure, and you want to add the data manually.

```
php artisan seeders:make my_table
```

Created Seeder: */database/seeders/YYYY\_MM\_DD\_XXXXXX\_my\_table.json*:

```
{
    "RECORDS": [
        {
            "name": "Example"
        }
    ]
}
```

In [Navicat for MySQL](https://www.navicat.com/en/products/navicat-for-mysql), the same structure is used when exporting to JSON file (.json).

### Create a new seeder and fill it automaticly.

[](#create-a-new-seeder-and-fill-it-automaticly)

With the command below you create a fully completed seeder based on existing records in a table.

```
php artisan seeders:generate my_table
```

Which columns are requested depends on the specified table. Columns that are not answered are not included in the seeder. At range you specify which record IDs should be included in de seeder.

```
Columns
Add column "id" ? (yes/no) [no]: y
Add column "name" ? (yes/no) [no]: y
Add column "dateofbirth" ? (yes/no) [no]:
Range
my_table.id from [0]: 12
my_table.id to [14]: 14
```

Created Seeder: */database/seeders/YYYY\_MM\_DD\_XXXXXX\_my\_table.json*:

```
{
    "RECORDS": [
        {
            "id": 12,
            "name": "Bill Gates"
        },
        {
            "id": 13,
            "name": "Steve Jobs"
        },
        {
            "id": 14,
            "name": "John Doe"
        }
    ]
}
```

### Running Seeders

[](#running-seeders)

The pending seeders are executed with the command below:

```
php artisan seeders:run
```

During execution it is checked whether the table and / or columns actually exist, otherwise the seeder is skipped.

```
Check seeder: YYYY_MM_DD_XXXXXX_my_table
[OK] Table "my_table" exists.
[OK] Columns "id, name" exists.
```

***Created At***

If the table has a ***created\_at*** column, but this is missing from the seeder, the current time is filled in.

***Update Or Insert***

If the ***id*** column exists in the seeder, the [updateOrInsert](https://laravel.com/docs/8.x/queries#update-or-insert) method is used, otherwise the [insert](https://laravel.com/docs/8.x/queries#inserts) method.

###  Health Score

28

—

LowBetter than 51% of packages

Maintenance27

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity52

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

3

Last Release

2106d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6d8904bedce7fb2ec131c0d18c13aeaa82b00af2fd03ebe099886ac462b1d29e?d=identicon)[davidvandertuijn](/maintainers/davidvandertuijn)

![](https://www.gravatar.com/avatar/7b5b7a8fee102ca4d6dc86b688c7c494599571e0fe22f4a9796ba0fca6f1cecb?d=identicon)[florowebdevelopment](/maintainers/florowebdevelopment)

---

Top Contributors

[![davidvandertuijn](https://avatars.githubusercontent.com/u/11010507?v=4)](https://github.com/davidvandertuijn "davidvandertuijn (7 commits)")

### Embed Badge

![Health badge](/badges/florowebdevelopment-seeders/health.svg)

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

###  Alternatives

[gijsg/system-resources

A Laravel Nova card.

2982.7k](/packages/gijsg-system-resources)[rupertgermann/tt_news

News - Website news with front page teasers and article handling inside.

2356.5k](/packages/rupertgermann-tt-news)[nexucis/es-index-helper

Elasticsearch Index Helper for php, which allows you to manage your indices without any downtime

1519.5k](/packages/nexucis-es-index-helper)

PHPackages © 2026

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