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

AbandonedArchivedCraft-plugin[Utility &amp; Helpers](/categories/utility)

studioespresso/craft-seeder
===========================

Easy entries seeder for Craft CMS

3.3.1(5y ago)3017.9k3[7 issues](https://github.com/studioespresso/craft3-seeder/issues)MITPHP

Since May 16Pushed 5y ago2 watchersCompare

[ Source](https://github.com/studioespresso/craft3-seeder)[ Packagist](https://packagist.org/packages/studioespresso/craft-seeder)[ RSS](/packages/studioespresso-craft-seeder/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelogDependencies (3)Versions (16)Used By (0)

Seeder plugin for Craft CMS 3.x
===============================

[](#seeder-plugin-for-craft-cms-3x)

[![Seeder](/resources/banner.png?raw=true)](/resources/banner.png?raw=true)

Usage
-----

[](#usage)

Seeder allows you to quickly create dummy entries through the command line. And you can just as easily remove the dummy data when you're done building the site. With the plugin installed, running `./craft help seeder/generate` will show you which commands are available

Since the plugin is only usefull during the development and not on a live site, charging money for it would be stupid (you could just free trial it every time). Instead you can download it for free and if you want to support future development, you can support it on [beerpay.io](https://beerpay.io/studioespresso/craft3-seeder). Thanks!

[![Beerpay](https://camo.githubusercontent.com/06f5842e9f51d16783b411b2e7072bf90a694f682d2a2607d18b7c2d9e1630f8/68747470733a2f2f626565727061792e696f2f73747564696f657370726573736f2f6372616674332d7365656465722f62616467652e737667)](https://beerpay.io/studioespresso/craft3-seeder)

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

[](#installation)

To install the plugin, follow these instructions.

1. Open your terminal and go to your Craft project:

    ```
     cd /path/to/project

    ```
2. Then tell Composer to load the plugin:

    ```
     composer require studioespresso/craft-seeder

    ```
3. In the Control Panel, go to Settings → Plugins and click the “Install” button for "Seeder".

### Usage

[](#usage-1)

#### Entries (Section ID/handle, siteId, count)

[](#entries-section-idhandle-siteid-count)

Use the command below, followed by the `--section` option and the `--number` of entries you want to create (defaults to 20 if ommited). This command works with both section ID and handle.

You can also add a `siteId` parameter to seed entries for a specific site. This will use the default site as a fallback.

```
./craft seeder/generate/entries --section=news --count=15
```

#### Categories (Category group ID/handle, count)

[](#categories-category-group-idhandle-count)

```
./craft seeder/generate/categories --group=labels --count=10
```

#### Users (Usergroup ID/handle, count)

[](#users-usergroup-idhandle-count)

```
./craft seeder/generate/users --group=editors --count=5
```

Clean up
--------

[](#clean-up)

Once you're done building out the site, the plugin gives you an easy way to remove the dummy data (entries, assets, categories and users). This can be done through the CP (click the Seeder section the sidebar) or through the command line with the following command:

```
./craft seeder/clean-up/all
```

Configuration options
---------------------

[](#configuration-options)

### `eachMatrixBlock` - Seed all blocktypes in a matrix field

[](#eachmatrixblock---seed-all-blocktypes-in-a-matrix-field)

For a matrix, the plugin will get a random set of block types within the minimum &amp; maximum amounts of blocks the field allows.

With this setting set to `true`, we'll generate a block of each blocktype once in a random order. This is a good way to test pagebuilder/contentbuilder-like fields.

### `useLocalAssets` - Use assets already in your site to seed asset fields

[](#uselocalassets---use-assets-already-in-your-site-to-seed-asset-fields)

```
'useLocalAssets' => [
    'volumeId' => 1,
    'path' => 'test/'
]
```

Add the array above to `config/seeder.php` to seed using assets from volume `1` and folder `test/`.

### `fields` - Basic field configuration

[](#fields----basic-field-configuration)

```
'fields' => [
    "sessions" => "ignore",
    "radioField" => [
        'value' => 'value2',
    ],
    "category" => [
        'mode' => 'random',
        'value' => [152, 153]
    ]
]
```

These are some basic examples of how you can defined seeding settings per field. The field handle should be the key in the array and the options are available right now:

- "ignore" =&gt; skip the field when seeding
- `["value" => "some string" ]` =&gt; Works to set a fixed value for plain text fields, checkboxes, radio buttons.
- `["mode" => "random", "value" => [1, 2] ]` =&gt; Works with entries and category fields, values should be ids of those entries.

Troubleshooting
---------------

[](#troubleshooting)

The most common problem with the plugins is getting the following error:

```
Unknown command: seeder/generate/entries
```

If you have the plugin installed in the CP and are seeing this message, craft can not connect to your database through the command line. Your site probably works correctly but CLI commands won't.

If you're running MAMP/XAMP, you should use `127.0.0.1` as hostname instead of `localhost`.

Roadmap
-------

[](#roadmap)

#### Core elements

[](#core-elements)

- Entries
- Categories
- Users
- Entry fields

#### Core fields

[](#core-fields)

- Title
- Plain text
- Email
- Url
- Color
- Date
- Entries
- Categories
- Dropdown
- Checkboxes
- Radio buttons
- Multi select
- Assets
- Matrix
- Lightswitch
- Table
- Tags
- Users

#### Plugin elements

[](#plugin-elements)

- Commerce products &amp; variants

#### Plugin fields

[](#plugin-fields)

- [Redactor](https://github.com/craftcms/redactor)
- [CKEditor](https://github.com/craftcms/ckeditor)
- [Super Table](https://github.com/verbb/super-table)
- [Position field](https://github.com/Rias500/craft-position-fieldtype)

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity34

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 96.9% 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 ~73 days

Recently: every ~92 days

Total

13

Last Release

2042d ago

Major Versions

1.0.3 → 2.0.02018-08-24

2.1.0 → 3.0.02019-02-05

### Community

Maintainers

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

---

Top Contributors

[![janhenckens](https://avatars.githubusercontent.com/u/755428?v=4)](https://github.com/janhenckens "janhenckens (155 commits)")[![smcyr](https://avatars.githubusercontent.com/u/664920?v=4)](https://github.com/smcyr "smcyr (5 commits)")

---

Tags

craftcraft-plugincraft3dummy-datacmsCraftcraftcmscraft-pluginseeder

###  Code Quality

TestsCodeception

### Embed Badge

![Health badge](/badges/studioespresso-craft-seeder/health.svg)

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

###  Alternatives

[verbb/navigation

Create navigation menus for your site.

90683.7k17](/packages/verbb-navigation)[verbb/formie

The most user-friendly forms plugin for Craft.

101372.9k40](/packages/verbb-formie)[verbb/comments

Add comments to your site.

13753.1k](/packages/verbb-comments)[verbb/tablemaker

Create customizable and user-defined table fields.

40168.8k1](/packages/verbb-tablemaker)[supercool/tablemaker

Create customizable and user-defined table fields.

40141.7k](/packages/supercool-tablemaker)[pennebaker/craft-architect

CraftCMS plugin to generate content models from JSON/YAML data.

72148.5k5](/packages/pennebaker-craft-architect)

PHPackages © 2026

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