PHPackages                             crisbarros/magento2-configimportexport - 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. crisbarros/magento2-configimportexport

ActiveMagento2-module[Utility &amp; Helpers](/categories/utility)

crisbarros/magento2-configimportexport
======================================

Import/Export core\_config\_data values in Magento 2

3.0.0(8y ago)042OSL-3.0PHPPHP 7.0.2|7.0.4|~7.0.6|~7.1.0

Since Apr 1Pushed 6y agoCompare

[ Source](https://github.com/crisbarros/Magento2-ConfigImportExport)[ Packagist](https://packagist.org/packages/crisbarros/magento2-configimportexport)[ RSS](/packages/crisbarros-magento2-configimportexport/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (5)Versions (10)Used By (0)

ConfigImportExport
==================

[](#configimportexport)

This module provides new CLI commands for Magento 2 to import/export data in/from core\_config\_data.

This module is inspired by the awesome n98-magerun plugin "HarrisStreet ImpEx" by @SchumacherFM for Magento 1 which you can find [here](https://github.com/Zookal/HarrisStreet-ImpEx).

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

[](#installation)

**Add the Package to your composer.json**

```
composer require semaio/magento2-configimportexport
```

**Enable and install the Module**

```
php bin/magento module:enable Semaio_ConfigImportExport
```

Facts
-----

[](#facts)

- Version: 3.0.0
- Magento Support: &gt;= 2.2
- PHP Versions: 7.0 + 7.1 + 7.2

Functionality
-------------

[](#functionality)

This module is a work in progress and will be extended in the near future with more functionality and support for other file formats.

Currently are the following file formats supported:

- Yaml (default)
- Json

### Import

[](#import)

#### Usage

[](#usage)

```
$ ./bin/magento config:data:import --help
 Usage:
  config:data:import [--base[="..."]] [-m|--format[="..."]] folder environment

 Arguments:
  folder                Import folder name
  environment           Environment name. SubEnvs separated by slash e.g.: development/osx/developer01

 Options:
  --base                Base folder name (default: "base")
  --format (-m)         Format: yaml, json (Default: yaml) (default: "yaml")

```

#### Folder Setup

[](#folder-setup)

To import the Magento configuration you'll need to setup a specific folder structure in the root directory of your Magento installation:

```
magento_root
├── app
├── bin
│   └── magento
├── config
│   └── store
│       ├── base
│       │   ├── allowsymlinks.yaml
│       │   └── general.yaml
│       ├── dev
│       │   ├── admin.yaml
│       │   └── therouv
│       │       └── web.yaml
│       ├── production
│       │   └── web.yaml
│       └── staging
│           └── web.yaml
├── lib
└── pub

```

To import my (@therouv) specific Magento configuration settings, I would run the following command in the "magento\_root" directory:

`./bin/magento config:data:import config/store dev/therouv`

### Export

[](#export)

#### Usage

[](#usage-1)

```
$ ./bin/magento config:data:export --help
Usage:
 config:data:export [-m|--format[="..."]] [-a|--hierarchical[="..."]] [-f|--filename[="..."]] [-i|--include[="..."]] [--includeScope[="..."]] [-x|--exclude[="..."]] [-s|--filePerNameSpace[="..."]]

Options:
 --format (-m)           Format: yaml, json (default: "yaml")
 --hierarchical (-a)     Create a hierarchical or a flat structure (not all export format supports that). Enable with: y (default: "n")
 --filename (-f)         File name into which should the export be written. Defaults into var directory.
 --include (-i)          Path prefix, multiple values can be comma separated; exports only those paths
 --includeScope          Scope name, multiple values can be comma separated; exports only those scopes
 --exclude (-x)          Path prefix, multiple values can be comma separated; exports everything except ...
 --filePerNameSpace (-s) Export each namespace into its own file. Enable with: y (default: "n")

```

#### Exported files

[](#exported-files)

The files are written to the **var** directory of your Magento installation.

Support
-------

[](#support)

If you encounter any problems or bugs, please create an issue on [GitHub](https://github.com/semaio/Magento2-ConfigImportExport/issues).

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

[](#contribution)

Any contribution to the development of MageSetup is highly welcome. The best possibility to provide any code is to open a [pull request on GitHub](https://help.github.com/articles/using-pull-requests).

Licence
-------

[](#licence)

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

Contributors
------------

[](#contributors)

Huge thanks to all [contributors](https://github.com/semaio/Magento2-ConfigImportExport/graphs/contributors) who contributed to this module.

Copyright
---------

[](#copyright)

(c) 2016 Rouven Alexander Rieker

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 78.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 ~86 days

Recently: every ~99 days

Total

8

Last Release

3089d ago

Major Versions

2.2.2 → 3.0.02017-11-27

PHP version history (2 changes)2.0.0PHP ~5.5.0|~5.6.0|~7.0.0

3.0.0PHP 7.0.2|7.0.4|~7.0.6|~7.1.0

### Community

Maintainers

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

---

Top Contributors

[![therouv](https://avatars.githubusercontent.com/u/393419?v=4)](https://github.com/therouv "therouv (56 commits)")[![tkn98](https://avatars.githubusercontent.com/u/10513307?v=4)](https://github.com/tkn98 "tkn98 (4 commits)")[![tunght13488](https://avatars.githubusercontent.com/u/828808?v=4)](https://github.com/tunght13488 "tunght13488 (2 commits)")[![Rane2k](https://avatars.githubusercontent.com/u/7405064?v=4)](https://github.com/Rane2k "Rane2k (2 commits)")[![rvr31](https://avatars.githubusercontent.com/u/4686898?v=4)](https://github.com/rvr31 "rvr31 (1 commits)")[![scottsb](https://avatars.githubusercontent.com/u/6756989?v=4)](https://github.com/scottsb "scottsb (1 commits)")[![cedricblondeau](https://avatars.githubusercontent.com/u/1479924?v=4)](https://github.com/cedricblondeau "cedricblondeau (1 commits)")[![vfayard](https://avatars.githubusercontent.com/u/156660191?v=4)](https://github.com/vfayard "vfayard (1 commits)")[![cmuench](https://avatars.githubusercontent.com/u/211294?v=4)](https://github.com/cmuench "cmuench (1 commits)")[![crisbarros](https://avatars.githubusercontent.com/u/56886?v=4)](https://github.com/crisbarros "crisbarros (1 commits)")[![DavidLambauer](https://avatars.githubusercontent.com/u/1841317?v=4)](https://github.com/DavidLambauer "DavidLambauer (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/crisbarros-magento2-configimportexport/health.svg)

```
[![Health](https://phpackages.com/badges/crisbarros-magento2-configimportexport/health.svg)](https://phpackages.com/packages/crisbarros-magento2-configimportexport)
```

###  Alternatives

[fastly/magento2

Fastly CDN Module for Magento 2.4.x

1564.2M1](/packages/fastly-magento2)[dotdigital/dotdigital-magento2-extension

Dotdigital for Magento 2

50374.2k18](/packages/dotdigital-dotdigital-magento2-extension)[mage-os/module-inventory-reservations-grid

Add a grid with the list of inventory reservations.

126.8k](/packages/mage-os-module-inventory-reservations-grid)

PHPackages © 2026

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