PHPackages                             defr/seeder\_make-extension - 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. [CLI &amp; Console](/categories/cli)
4. /
5. defr/seeder\_make-extension

ActiveStreams-addon[CLI &amp; Console](/categories/cli)

defr/seeder\_make-extension
===========================

The Streams Platform addon, extended `make:seeder` artisan command.

v1.0.3(8y ago)118MITPHPPHP &gt;=5.5.9

Since Apr 7Pushed 8y ago1 watchersCompare

[ Source](https://github.com/Piterden/seeder_make-extension)[ Packagist](https://packagist.org/packages/defr/seeder_make-extension)[ RSS](/packages/defr-seeder-make-extension/feed)WikiDiscussions 1.0 Synced 1mo ago

READMEChangelog (4)Dependencies (1)Versions (7)Used By (0)

Seeder Make Command
===================

[](#seeder-make-command)

Streams Platform Addon. `seeder_make-extension` for PyroCMS.
------------------------------------------------------------

[](#streams-platform-addon-seeder_make-extension-for-pyrocms)

> Enhancement of standard `make:seeder` command.

Features
--------

[](#features)

- Needs addon to be selected;
- Checks for available streams in addon;
- Ask for which of streams you would like to create seeder;
- Creates one seeder for addon and by one on each selected stream;
- Included config repository and main stream repository.

---

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

[](#installation)

### Step 1

[](#step-1)

Run

```
$ composer require defr/seeder_make-extension
```

Either, add to `require` section of `composer.json`:

```
    "defr/seeder_make-extension": "~1.0.0",
```

Run `composer update` command, which will install extension to the `core` folder!

### Step 2

[](#step-2)

Then you would need to install extension to PyroCMS

```
$ php artisan extension:install seeder_make
```

or

```
$ php artisan addon:install defr.extension.seeder_make
```

---

Usage
-----

[](#usage)

### Available options

[](#available-options)

```
$ php artisan help make:seeder
Usage:
  make:seeder [options] [--]

Arguments:
  namespace              The namespace of the addon

Options:
      --stream[=STREAM]  The stream slug.
      --shared           Indicates if the addon should be created in shared addons.
  -h, --help             Display this help message
  -q, --quiet            Do not output any message
  -V, --version          Display this application version
      --ansi             Force ANSI output
      --no-ansi          Disable ANSI output
  -n, --no-interaction   Do not ask any interactive question
      --env[=ENV]        The environment the command should run under
      --app[=APP]        The application the command should run under.
  -v|vv|vvv, --verbose   Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
```

### Creating seeders

[](#creating-seeders)

```
$ php artisan make:seeder defr.module.backup_manager
```

---

Examples
--------

[](#examples)

### Example of generated stream seeder

[](#example-of-generated-stream-seeder)

```
