PHPackages                             codesvault/wp-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. codesvault/wp-seeder

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

codesvault/wp-seeder
====================

Database seeder for WordPress

1.2.0(6mo ago)12886MITPHPPHP &gt;=7.4

Since Jan 11Pushed 5mo ago1 watchersCompare

[ Source](https://github.com/CodesVault/wp-seeder)[ Packagist](https://packagist.org/packages/codesvault/wp-seeder)[ RSS](/packages/codesvault-wp-seeder/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (2)Versions (5)Used By (0)

WP Seeder
=========

[](#wp-seeder)

Add demo data in the Database from terminal.

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

[](#installation)

It is required to install it using composer `composer install codesvault/wp-seeder`.
It supports PHP **&gt;= 7.4**

Uses
----

[](#uses)

To create a new seeder, run below command in the terminal and provide necessary inputs.

```
./vendor/bin/wpseed new
```

It will generate `/seeders` directory in `/database` directory. Don't move this directory to other location, it must be there. In the `/database/seeders` folder you will have your seeder which was automatically generated, the file name will be same as the class name that you had given input.

Now change the `$table` property according to your table name where you want to store data. `$row` property is for number of rows you want to generate in the table. For generating demo data WP Seeder has build-in support of [FakerPHP](https://fakerphp.github.io/).

Here is an example seeder class:

```
class YourClassName extends WPSeeder
{
    public $table = "cv_users";    // db table name without prefix, default is posts.
    public $row = 5;      // number of db table row will create, default is 1.

    public function run()
    {
        // add data that need to be inserted in database.
        // array key is the column name, value is data that will be stored.
        return array(
            'name' => $this->faker()->unique()->name(),
            'email' => $this->faker()->unique()->email(),
            'password' => $this->faker()->unique()->password()
        );
    }
}
```

If you want to create more seeders for different tables then just repeate the above process. Now just run below command in the terminal from plugin's root directory and data will be stored in the database.

```
`./vendor/bin/wpseed store`
```

.

###  Health Score

39

—

LowBetter than 84% of packages

Maintenance69

Regular maintenance activity

Popularity21

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

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 ~544 days

Total

3

Last Release

180d ago

PHP version history (2 changes)1.0.0PHP &gt;=7.4

1.1.0PHP &gt;=7.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/39233955?v=4)[Keramot UL Islam](/maintainers/abmSourav)[@AbmSourav](https://github.com/AbmSourav)

---

Top Contributors

[![AbmSourav](https://avatars.githubusercontent.com/u/39233955?v=4)](https://github.com/AbmSourav "AbmSourav (28 commits)")

---

Tags

databasemysqlmysql-databaseseederseederswordpresswordpress-php-library

### Embed Badge

![Health badge](/badges/codesvault-wp-seeder/health.svg)

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

###  Alternatives

[bolt/core

🧿 Bolt Core

585147.2k59](/packages/bolt-core)[webfactory/slimdump

slimdump is a little tool to help you creating dumps of large MySQL-databases.

193125.8k1](/packages/webfactory-slimdump)[verbb/formie

The most user-friendly forms plugin for Craft.

102393.6k69](/packages/verbb-formie)[solspace/craft-freeform

The most flexible and user-friendly form building plugin!

54681.3k18](/packages/solspace-craft-freeform)[worksome/foggy

Foggy is a tool for making database dumps with some data removed/changed.

26601.5k1](/packages/worksome-foggy)[guidocella/eloquent-populator

Guess attributes for Eloquent model factories

7762.7k2](/packages/guidocella-eloquent-populator)

PHPackages © 2026

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