PHPackages                             giuseppemorelli/magerun-addons - 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. giuseppemorelli/magerun-addons

ActiveMagento-module[CLI &amp; Console](/categories/cli)

giuseppemorelli/magerun-addons
==============================

Addon commands for N98 MageRun

0.1.0(9y ago)820[3 issues](https://github.com/giuseppemorelli/magerun-addons/issues)OSL-3.0PHPPHP &gt;=5.3.3

Since Jul 1Pushed 7y ago1 watchersCompare

[ Source](https://github.com/giuseppemorelli/magerun-addons)[ Packagist](https://packagist.org/packages/giuseppemorelli/magerun-addons)[ Docs](https://github.com/gmdotnet/GMdotnet_MagerunAddons)[ RSS](/packages/giuseppemorelli-magerun-addons/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (5)Dependencies (3)Versions (7)Used By (0)

[![stable version](https://camo.githubusercontent.com/01dc367e984fa9a41a188cb52754227fd1e6eac7d844bdb111346d001f1e88cd/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f737461626c6525323076657273696f6e2d302e312e302d677265656e2e7376673f7374796c653d666c61742d737175617265)](https://github.com/giuseppemorelli/magerun-addons/releases/tag/0.1.0)[![stable version](https://camo.githubusercontent.com/f7af3f98f068caea2531a8c1639adc2235d6420124c35fae1f629e226682a4d1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7061636b61676973742d302e312e302d677265656e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/giuseppemorelli/magerun-addons)[![develop](https://camo.githubusercontent.com/42e75b553e2e55350efa939d800e089c8a0f2b213cc54aafccad0bef4eae2aec/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6265746125323076657273696f6e2d6272616e6368253230646576656c6f702d6f72616e2e7376673f7374796c653d666c61742d737175617265)](https://github.com/giuseppemorelli/magerun-addons/tree/develop)[![license](https://camo.githubusercontent.com/3e83194ae9eb0b8404513116c1e194a70e1de342a74a29589de30b5736933e3c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4f534c2d2d332d626c75652e7376673f7374796c653d666c61742d737175617265)](https://github.com/giuseppemorelli/magerun-addons/blob/master/LICENSE.txt)

GMdotnet\_MagerunAddons
=======================

[](#gmdotnet_magerunaddons)

Additional commands for [n98-magerun](https://github.com/netz98/n98-magerun).

#### This is a tools only for develop environment. Please, do not use in production environment!

[](#this-is-a-tools-only-for-develop-environment-please-do-not-use-in-production-environment)

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

[](#installation)

Official guide: [n98-magerun docs](http://magerun.net/introducting-the-new-n98-magerun-module-system/)

#### A global folder for the system

[](#a-global-folder-for-the-system)

Clone the repository inside the folder:

```
/usr/local/share/n98-magerun/modules/

```

#### A folder inside the user’s home dir

[](#a-folder-inside-the-users-home-dir)

Clone the repository inside the folder:

```
~/.n98-magerun/modules/

```

#### A folder inside the Magento installation (manually)

[](#a-folder-inside-the-magento-installation-manually)

Copy the repository (not clone in case you have already git on your project) inside the folder:

```
MAGENTO_ROOT/lib/n98-magerun/modules/

```

#### A folder inside the Magento installation (with composer)

[](#a-folder-inside-the-magento-installation-with-composer)

```
composer require giuseppemorelli/magerun-addons

```

(you need [modman](https://github.com/colinmollenhour/modman) as a pre-requisite)

Commands
--------

[](#commands)

### Create Dummy Products

[](#create-dummy-products)

(experimental). Create dummy products with all default vanilla magento or your custom values.

**Interactive mode** or via **shell arguments** or mixed.

```
$ n98-magerun.phar product:create:dummy

```

ArgumentDescriptionAccepted Values`website-id`Website ID (default: 1)only integer`attribute-set-id`Attribute Set Id (default: Default with ID 4)only integer`product-type`Product Type (default: simple)`simple`
`configurable`
\[grouped - work in progress\]`sku-prefix`Prefix for product's sku (default: MAGPROD-)any`category-ids`Categories for product association (comma separated - default null)only integer with comma separated`product-status`Product Status (default: enabled)only integer
 `1` - for enabled
 `2` - for disabled`product-visibility`Product Visibility (default: visibile\_both)only integer
 `1` - for not visible
 `2` - for visible in catalog
 `3` - for visible in search
 `4` - for visible in both`product-number`Number of products to createonly integerExtra options asked only for configurabile products (actually **only in interactive mode**)

ArgumentDescriptionAccepted Values`attribute-configurable-number`Number of configurable attributes to use ("super attributes")only integer`attribute-configurable-codes`Attribute codes for configurable products ("super attributes")only text`product-children-number`Number of products childrenonly integer\####INFO

\#####IMAGES

- Product's temp images are saved into `MAGENTO_ROOT/media/import/` folder with this filename:
    `."-".sha1().".jpg"`

    After creation you can clean the folder if you want.

\#####CONFIGURABLE PRODUCTS

- You need to create configurable attributes and insert same values. Then add these attributes to attribute set you want use

---

### Create Dummy Categories

[](#create-dummy-categories)

#### (This command was included in n98-magerun 1.97.23)

[](#this-command-was-included-in-n98-magerun-19723)

Create dummy categories with all default vanilla magento or your custom values.

**Interactive mode** or via **shell arguments** or mixed.

```
$ n98-magerun.phar category:create:dummy

```

ArgumentDescriptionAccepted Values`store-id`Id of Store to create categories (default: 1)only integer`category-number`Number of categories to create (default: 1)only integer`children-categories-number`Number of children for each category created (default: 0 - use '-1' for random from 0 to 5)only integer or -1 for random number from 0 to 5`category-name-prefix`Category Name Prefix (default: 'My Awesome Category')any---

### Create Dummy Attribute Values

[](#create-dummy-attribute-values)

#### (This command was included in n98-magerun 1.97.23)

[](#this-command-was-included-in-n98-magerun-19723-1)

Create dummy attribute values (ONLY FOR DROPDOWN ATTRIBUTE)

**Interactive mode** or via **shell arguments** or mixed.

```
$ n98-magerun.phar eav:attribute:create-dummy-values

```

ArgumentDescriptionAccepted Values`locale`Locale value in ISO standard like en\_USonly string`attribute-id`Attribute ID to add valuesonly integer`values-type`Types of Values to create (default int)`int`
`string`
`color`
`size`
`designer``values-number`Number of Values to create (default 1)only integer---

### Clean log tables

[](#clean-log-tables)

Clean (truncate mysql command) all tables that are used only for statistics or log. If you need to reduce database size, this is the command to execute. Attention! If you use Magento statistics about visitors, maybe with this command you can lose some data.

```
$ n98-magerun.phar db:maintain:clean-table

```

List of tables:

Namedataflow\_batch\_exportdataflow\_batch\_importlog\_customerlog\_quotelog\_summarylog\_summary\_typelog\_urllog\_url\_infolog\_visitorlog\_visitor\_infolog\_visitor\_onlinereport\_eventreport\_viewed\_product\_indexRequirements
------------

[](#requirements)

- (tested with n98-magerun &gt; 1.96.1)
- (tested with magento 1.9.x)
- (tested with php 5.6)

WORK IN PROGRESS
----------------

[](#work-in-progress)

- create dummy grouped products
- create dummy virtual products
- create dummy bundle products

Contribution
------------

[](#contribution)

Any contribution is highly appreciated. The best way to contribute code is to open a [pull request on GitHub](https://help.github.com/articles/using-pull-requests).
Please create your pull request against the `develop` branch

License
-------

[](#license)

[OSL - Open Software Licence 3.0](http://opensource.org/licenses/osl-3.0.php)

Credits
-------

[](#credits)

Thanks to [NETZ98](http://www.netz98.de/) for creating this incredible tool.
Thanks to [Kalen Jordan](https://github.com/kalenjordan) and [Peter Jaap Blaakmeer](https://github.com/peterjaap) to start contributing n98-magerun with their addons.
Thanks to [lorempixel.com](http://lorempixel.com) for the sample images.

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

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

Total

5

Last Release

3597d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1280769?v=4)[Giuseppe Morelli](/maintainers/giuseppemorelli)[@giuseppemorelli](https://github.com/giuseppemorelli)

---

Tags

dummy-categoriesdummy-productsmagenton98-mageruncliinstallermagentomagerun

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/giuseppemorelli-magerun-addons/health.svg)

```
[![Health](https://phpackages.com/badges/giuseppemorelli-magerun-addons/health.svg)](https://phpackages.com/packages/giuseppemorelli-magerun-addons)
```

###  Alternatives

[symfony/console

Eases the creation of beautiful and testable command line interfaces

9.8k1.1B13.2k](/packages/symfony-console)[n98/magerun

Tools for managing Magento projects and installations

1.4k266.2k7](/packages/n98-magerun)[nunomaduro/collision

Cli error handling for console/command-line PHP applications.

4.7k348.7M10.4k](/packages/nunomaduro-collision)[nunomaduro/termwind

It's like Tailwind CSS, but for the console.

2.5k260.6M361](/packages/nunomaduro-termwind)[n98/magerun2

Tools for managing Magento projects and installations

926245.1k6](/packages/n98-magerun2)[wp-cli/wp-cli

WP-CLI framework

5.1k18.5M386](/packages/wp-cli-wp-cli)

PHPackages © 2026

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