PHPackages                             anubarak/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. anubarak/craft-seeder

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

anubarak/craft-seeder
=====================

Easy entries seeder for Craft CMS

5.0.5(8mo ago)21.1k↓66.7%MITPHPPHP ^8.2

Since May 16Pushed 2w agoCompare

[ Source](https://github.com/Anubarak/craft-seeder)[ Packagist](https://packagist.org/packages/anubarak/craft-seeder)[ RSS](/packages/anubarak-craft-seeder/feed)WikiDiscussions craft5 Synced 2d ago

READMEChangelog (3)Dependencies (2)Versions (42)Used By (0)

Seeder plugin for Craft CMS
===========================

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

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 `php craft element-seeder/generate/entries` create entries

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 anubarak/craft-seeder

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

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

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

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

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

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:

```
php craft element-seeder/clean-up
```

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

[](#configuration-options)

you can include custom configurations for each layout

```
