PHPackages                             techdivision/import-cli-magento - 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. techdivision/import-cli-magento

ActiveLibrary[CLI &amp; Console](/categories/cli)

techdivision/import-cli-magento
===============================

Magento CLI extension that provides single-threaded Magento 2 importing functionality based on M2IF

072[1 PRs](https://github.com/techdivision/import-cli-magento/pulls)PHP

Since Jun 16Pushed 6y ago9 watchersCompare

[ Source](https://github.com/techdivision/import-cli-magento)[ Packagist](https://packagist.org/packages/techdivision/import-cli-magento)[ RSS](/packages/techdivision-import-cli-magento/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

M2IF - Magento 2 Console Extension
==================================

[](#m2if---magento-2-console-extension)

[![Latest Stable Version](https://camo.githubusercontent.com/f4cbe053e3e824d2db435557d11b5872218605ef57f3637b8645ec5f91653d77/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f746563686469766973696f6e2f696d706f72742d636c692d6d6167656e746f2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/techdivision/import-cli-magento)[![Total Downloads](https://camo.githubusercontent.com/9e438628e4357db87cad35549414e4c2013e05eed974cfad0b175fd448afbd30/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f746563686469766973696f6e2f696d706f72742d636c692d6d6167656e746f2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/techdivision/import-cli-magento)[![License](https://camo.githubusercontent.com/856a2fcb3a665cb0639113e51830433f1fec2bec12db3744040c5ee6378eba4b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f746563686469766973696f6e2f696d706f72742d636c692d6d6167656e746f2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/techdivision/import-cli-magento)[![Build Status](https://camo.githubusercontent.com/aebb937ddd9185712dc2b1a5d16ece238eb756cbe53effde5c851aa0be2bde5d/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f746563686469766973696f6e2f696d706f72742d636c692d6d6167656e746f2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](http://travis-ci.org/techdivision/import-cli-magento)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/507f4de09f648d6a2d1c20c81a7b85158fc8a6571dc4620fe49940d1f1b87428/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f746563686469766973696f6e2f696d706f72742d636c692d6d6167656e746f2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/techdivision/import-cli-magento/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/e344ddfdf7b95a5f0654aaad8a249171a644fe943f5b0d0013117c2f93872c64/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f746563686469766973696f6e2f696d706f72742d636c692d6d6167656e746f2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/techdivision/import-cli-magento/?branch=master)

Development
-----------

[](#development)

To make the development process as easy as possible, we've added some basic [Robo](http://robo.li) commands.

### General Configuration

[](#general-configuration)

Robo supports a configuration file `robo.yml`, that has to be located in the root directory of the extension. By default, the file contains the following default configurations, that probably have to be customized to your needs

```
dirs:
    deploy: /opt/appserver/webapps/magento2-ce-2.1.7

docker:
    target-container: appserver-1.1.4-magento
    dirs:
        deploy: /opt/appserver/webapps/magento2-ce-2.1.7
        src:    /root/Workspace/import-cli-magento/src
        dest:   webapps/magento2-ce-2.1.7
```

### Sync Sources

[](#sync-sources)

To synchronize your local sources with the Magento 2 instance inside the Docker container, simply execute

```
$ vendor/bin/robo docker:sync
```

### Execute Magento Commands

[](#execute-magento-commands)

Another command allows you to invoke the magento script inside the Magento root directory of the docker container. Simply pass the Magento command, prefixed with a `--`, e. g.

```
$ vendor/bin/robo docker:magento -- setup:upgrade
```

### Execute Composer Commands

[](#execute-composer-commands)

Same works for composer. Simply pass the command and the arguments/options, prefixed with a `--` e. g.

```
$ vendor/bin/robo docker:composer -- update --no-dev
```

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

[](#installation)

The general development process is optimized to work with Docker. Therefore we'll assume a running Docker container with a working Magento 2 instance inside. If not available or you're not sure how to setup one, have a look at the appserver.io [tutorial](http://appserver.io/get-started/tutorials/running-magento2-in-an-appserver-io-docker-container.html).

### Option 1 - Using the Robo command

[](#option-1---using-the-robo-command)

```
$ vendor/bin/robo docker:composer require techdivision/import-cli-magento:dev-master
```

This is the preferred option.

### Option 2 - Direct Installation from inside the container

[](#option-2---direct-installation-from-inside-the-container)

Open a shell in your Docker container

```
$ docker exec -ti appserver-1.1.4-magento bash
```

Then use your favorite editor, e. g. vim, to open the composer.json of your Magento 2 installation and add the extension to the required dependencies like

```
{
    ...
    "require": {
        ...
        "techdivision/import-cli-magento": "dev-master"
    }
    ...
}
```

and finish the installation by updating composer on the commandline with

```
$ composer update
```

The extension should now be installed ready for development.

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/287509?v=4)[Tim Wagner](/maintainers/wagnert)[@wagnert](https://github.com/wagnert)

---

Top Contributors

[![wagnert](https://avatars.githubusercontent.com/u/287509?v=4)](https://github.com/wagnert "wagnert (9 commits)")

### Embed Badge

![Health badge](/badges/techdivision-import-cli-magento/health.svg)

```
[![Health](https://phpackages.com/badges/techdivision-import-cli-magento/health.svg)](https://phpackages.com/packages/techdivision-import-cli-magento)
```

###  Alternatives

[seld/cli-prompt

Allows you to prompt for user input on the command line, and optionally hide the characters they type

24726.4M22](/packages/seld-cli-prompt)[illuminate/console

The Illuminate Console package.

13045.3M6.2k](/packages/illuminate-console)[styleci/cli

The CLI tool for StyleCI

71464.1k9](/packages/styleci-cli)[winbox/args

Windows command-line formatter

20718.9k21](/packages/winbox-args)

PHPackages © 2026

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