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

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

semaio/magento2-configimportexport
==================================

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

5.0.0(1mo ago)165779.8k↓41.2%62[3 issues](https://github.com/semaio/Magento2-ConfigImportExport/issues)[3 PRs](https://github.com/semaio/Magento2-ConfigImportExport/pulls)3OSL-3.0PHPPHP ^8.1CI passing

Since Apr 1Pushed 1mo ago16 watchersCompare

[ Source](https://github.com/semaio/Magento2-ConfigImportExport)[ Packagist](https://packagist.org/packages/semaio/magento2-configimportexport)[ RSS](/packages/semaio-magento2-configimportexport/feed)WikiDiscussions main Synced today

READMEChangelog (10)Dependencies (10)Versions (28)Used By (3)

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

[](#configimportexport)

This extension provides CLI commands for Magento 2 to import/export system configuration data.

Why this extension?
-------------------

[](#why-this-extension)

While Magento 2 offers the `app:config:dump` / `app:config:import` commands, they're limited to one environment and a little bit hard to manage, especially in CI/CD setups.

This extension supports managing configuration values for multiple environments (production, staging, etc.) out-of-the-box, defining and overwriting base configuration values in a specific environment. It also allows different file formats (e.g., YAML, JSON). In general, it makes that process a bit more streamlined and easier to manage, with the added benefit of generalization and cross-compatibility with other agencies/merchants using this.

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
php bin/magento setup:upgrade
```

Facts
-----

[](#facts)

- Supported Magento versions are 2.4.4+.
- Supported PHP versions are 8.1, 8.2, 8.3, and 8.4.

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

[](#functionality)

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

### File formats

[](#file-formats)

This module currently supports the following file formats:

- YAML (default)
- JSON

See [docs/file-formats.md](docs/file-formats.md) for more information and examples.

### Import config data

[](#import-config-data)

See [docs/config-import.md](docs/config-import.md) for more information.

### Export config data

[](#export-config-data)

See [docs/config-export.md](docs/config-export.md) for more information.

Usage with Deployer
-------------------

[](#usage-with-deployer)

When using a push approach in CI/CD, the environment variables should be replaced on the runner and not on the initiating host or target host. For this, you can use this Deployer task to do this and import the config settings;

```
task('magento:config:set', function () {
    $resolver = new \Semaio\ConfigImportExport\Model\Resolver\EnvironmentVariableResolver();
    $glob = glob('config/store/**/*.yaml');
    array_walk($glob, function ($file) use ($resolver) {
        if (file_put_contents($tempFile = tempnam('/tmp', get('clientslug')), $resolver->resolveValue(file_get_contents($file)))) {
            upload($tempFile, get('release_path') . '/' . $file);
        }
    });
    run('{{bin/php}} {{release_path}}/bin/magento config:data:import {{release_path}}/config/store ' . get('environment'));
});

```

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)

Thanks to all [contributors](https://github.com/semaio/Magento2-ConfigImportExport/graphs/contributors) who invested their valuable time to contribute to this module. Much appreciated!

Inspiration
-----------

[](#inspiration)

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).

Copyright
---------

[](#copyright)

(c) 2016-2022 semaio GmbH / Rouven Alexander Rieker

###  Health Score

70

—

ExcellentBetter than 100% of packages

Maintenance92

Actively maintained with recent releases

Popularity56

Moderate usage in the ecosystem

Community34

Small or concentrated contributor base

Maturity82

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 67.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 ~142 days

Recently: every ~290 days

Total

27

Last Release

35d ago

Major Versions

2.2.2 → 3.0.02017-11-27

3.10.1 → 4.0.02023-01-19

4.4.0 → 5.0.02026-05-29

PHP version history (7 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

3.1.0PHP ~7.2.0 || ~7.3.0

3.3.0PHP ~7.2.0 || ~7.3.0 || ~7.4.0

3.4.0PHP ^7.2

3.6.0PHP ^7.2|^8.1

5.0.0PHP ^8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/393419?v=4)[Rouven Alexander Rieker](/maintainers/therouv)[@therouv](https://github.com/therouv)

---

Top Contributors

[![therouv](https://avatars.githubusercontent.com/u/393419?v=4)](https://github.com/therouv "therouv (127 commits)")[![peterjaap](https://avatars.githubusercontent.com/u/431360?v=4)](https://github.com/peterjaap "peterjaap (14 commits)")[![DavidLambauer](https://avatars.githubusercontent.com/u/1841317?v=4)](https://github.com/DavidLambauer "DavidLambauer (14 commits)")[![bluec](https://avatars.githubusercontent.com/u/1577895?v=4)](https://github.com/bluec "bluec (5 commits)")[![tkn98](https://avatars.githubusercontent.com/u/10513307?v=4)](https://github.com/tkn98 "tkn98 (4 commits)")[![vpodorozh](https://avatars.githubusercontent.com/u/16047928?v=4)](https://github.com/vpodorozh "vpodorozh (3 commits)")[![carstendietrich](https://avatars.githubusercontent.com/u/3203968?v=4)](https://github.com/carstendietrich "carstendietrich (3 commits)")[![torhoehn](https://avatars.githubusercontent.com/u/1945725?v=4)](https://github.com/torhoehn "torhoehn (2 commits)")[![tunght13488](https://avatars.githubusercontent.com/u/828808?v=4)](https://github.com/tunght13488 "tunght13488 (2 commits)")[![Maksold](https://avatars.githubusercontent.com/u/325244?v=4)](https://github.com/Maksold "Maksold (2 commits)")[![Rane2k](https://avatars.githubusercontent.com/u/7405064?v=4)](https://github.com/Rane2k "Rane2k (2 commits)")[![scottsb](https://avatars.githubusercontent.com/u/6756989?v=4)](https://github.com/scottsb "scottsb (1 commits)")[![simonmaass](https://avatars.githubusercontent.com/u/32599710?v=4)](https://github.com/simonmaass "simonmaass (1 commits)")[![cmuench](https://avatars.githubusercontent.com/u/211294?v=4)](https://github.com/cmuench "cmuench (1 commits)")[![vfayard](https://avatars.githubusercontent.com/u/156660191?v=4)](https://github.com/vfayard "vfayard (1 commits)")[![mp-sb](https://avatars.githubusercontent.com/u/99789494?v=4)](https://github.com/mp-sb "mp-sb (1 commits)")[![cedricblondeau](https://avatars.githubusercontent.com/u/1479924?v=4)](https://github.com/cedricblondeau "cedricblondeau (1 commits)")[![mwr](https://avatars.githubusercontent.com/u/80516?v=4)](https://github.com/mwr "mwr (1 commits)")[![Morgy93](https://avatars.githubusercontent.com/u/7961978?v=4)](https://github.com/Morgy93 "Morgy93 (1 commits)")[![rvr31](https://avatars.githubusercontent.com/u/4686898?v=4)](https://github.com/rvr31 "rvr31 (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[loki/magento2-components

Core module for defining Alpine.js components with advanced AJAX features

1011.8k26](/packages/loki-magento2-components)[fastly/magento2

Fastly CDN Module for Magento 2.4.x

1564.4M1](/packages/fastly-magento2)[mollie/magento2

Mollie Payment Module for Magento 2

1131.9M16](/packages/mollie-magento2)[fishpig/magento2-wordpress-integration

Securely integrate WordPress and Magento 2.

83369.2k7](/packages/fishpig-magento2-wordpress-integration)[run-as-root/magento2-prometheus-exporter

Magento2 Prometheus Exporter

68357.9k](/packages/run-as-root-magento2-prometheus-exporter)[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

103519.9k53](/packages/friendsoftypo3-content-blocks)

PHPackages © 2026

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