magebit / module-magento2-configurator
magebit/module-magento2-configurator
Keep Magento persistently configured using version-controlled files.
Magento 2 Configurator — Magebit v2
Keep Magento persistently configured from version-controlled files. Define your
store configuration (websites, attributes, categories, CMS, tax, customers, …)
as YAML/CSV, commit it, and apply it to any environment with a single command.
Originally created by CTI Digital; this is Magebit's v2 line — a
modernised, self-owned fork under the Magebit\Configurator namespace
(Magebit_Configurator).
Why
- Stand up a store from scratch with its important DB-backed configuration ready.
- Share and version configuration alongside your code.
- Apply environment-specific configuration (local / stage / live).
- Re-run safely: components are idempotent and a
--dry-runpreviews changes.
Requirements
- Magento Open Source / Adobe Commerce 2.4.7 – 2.4.9 (all currently non-EOL)
- PHP 8.1 – 8.5 (the union supported across those Magento versions)
firegento/fastsimpleimport ^2.0
What's new in v2
Magebit\Configuratornamespace /Magebit_Configuratormodule.- Typed component contract —
execute(ComponentContext): ComponentResult
(replacing the untypedexecute($data));strict_types, promotedreadonly
constructors throughout. --dry-run— preview what each component would create/update/skip without
persisting anything (raw SQL, imports and saves are all guarded).- Meaningful exit codes —
configurator:runreturns non-zero when any
component reports an error, and prints a run summary
(created N, updated N, skipped N, errors N). A single failing component no
longer aborts the whole run. - Documented config contract — every component's source format is in
docs/schema/.
Getting started
- Create
app/etc/master.yaml(seeSamples/master.yaml).
Source paths are resolved relative to the Magento base dir, e.g.
app/etc/configurator/Attributes/attributes.yaml. - Enable the modules:
bin/magento module:enable Magebit_Configurator FireGento_FastSimpleImport
thenbin/magento setup:upgrade. - Apply:
bin/magento configurator:run --env="<environment>"
Usage
bin/magento configurator:list # list components
bin/magento configurator:run --env="local" # run all
bin/magento configurator:run --env="local" --component="config" # run one (repeatable)
bin/magento configurator:run --env="local" --dry-run # preview, no writes
bin/magento configurator:run --env="local" -i # ignore missing source files
bin/magento configurator:run --env="local" -v # verbose logging
Configuration reference
See docs/schema/ for the source format of every
component (fields, behaviour, create/maintain semantics). This is the stable
public contract for the v2 line.
Testing
- Unit tests (
phpunit.xml.dist) — run from within a Magento install:../../../vendor/bin/phpunit -c phpunit.xml.dist - Conformance harness (
Test/Conformance/) —
runs every component through the shippedSamples/in--dry-runagainst a
real Magento and fails on any component crash. This is the primary integration
check. - Static analysis —
phpcs(Magento2 standard, seephpcs.xml.dist) +phpmd.
Components
All components are implemented and execute-verified on Magento 2.4.7. Each links
to its schema page.
| Component | Alias | Notes |
|---|---|---|
| Websites / Stores / Store Views | websites |
|
| Configuration | config |
create/maintain |
| Sequence | sequence |
|
| Attributes | attributes |
create/maintain, swatches |
| Attribute Sets | attribute_sets |
|
| Categories | categories |
create/maintain |
| Products | products |
FastSimpleImport (configurable products need their simple products to exist) |
| Blocks | blocks |
create/maintain, phtml templates, versioning |
| Pages | pages |
create/maintain, versioning |
| API Integrations | apiintegrations |
|
| Tax Rates | taxrates |
|
| Tax Rules | taxrules |
|
| Widgets | widgets |
|
| Customer Groups | customergroups |
|
| Admin Roles / Users | adminroles / adminusers |
|
| Media | media |
|
| Rewrites | rewrites |
|
| Review Ratings | review_rating |
|
| Product Links | product_links |
related / up-sell / cross-sell |
| Customer Attributes | customer_attributes |
|
| Customers | customers |
FastSimpleImport |
| SQL | sql |
raw SQL files |
| Catalog Price Rules | catalog_price_rules |
|
| Shipping Table Rates | shippingtablerates |
|
| Order Statuses | order_statuses |
|
| Tiered Prices | tiered_prices |
FastSimpleImport |
Background
Lightning talk by Raj Chevli at Mage Titans Manchester on YouTube.
License
MIT — see LICENSE. Copyright © 2016 CTI Digital; portions
copyright © 2026 Magebit, Ltd.
No changelog yet
The vendor hasn't published a changelog. Tagged releases appear in the Versions tab.
| Version | Stability | QA Status | Compatibility | Released |
|---|---|---|---|---|
| 2.0.5 | stable | Fail | Magento 2.4.7-2.4.8 Details | 2026-06-16 09:16:16 |
| 2.0.4 | stable | Not tested | Not yet tested Details | 2026-06-10 21:50:56 |
| 2.0.3 | stable | Not tested | Not yet tested Details | 2026-06-09 17:37:02 |
| 2.0.2 | stable | Not tested | Not yet tested Details | 2026-06-09 16:13:27 |
| 2.0.1 | stable | Not tested | Not yet tested Details | 2026-06-09 15:25:21 |
| 2.0.0 | stable | Not tested | Not yet tested Details | 2026-06-08 12:42:22 |
| 1.0.5 | stable | Not tested | Not yet tested Details | 2026-06-02 07:09:28 |
Requires 3
| Package | Constraint |
|---|---|
| firegento/fastsimpleimport | ^2.0 |
| php | >=8.1 <8.6 |
| symfony/yaml | ~6.0|~7.0 |
Requires-dev 5
| Package | Constraint |
|---|---|
| bitexpert/phpstan-magento | ^0.30 || ^1.0 |
| magento/magento-coding-standard | * |
| phpmd/phpmd | ^2.15 |
| phpstan/phpstan | ^1.12 |
| phpunit/phpunit | ^10.5 || ^11.0 |
No QA results yet
QA pipelines haven't run for this version. Compatibility and quality results appear here once the vendor publishes a tagged release that gets ingested.
More from magebit
View vendorTurn an existing module into recurring revenue.
If you already maintain a Magento 2 module on GitHub or GitLab, listing it on Packagento takes about five minutes. We mirror your tags, handle distribution signing, and route paid licenses through Stripe Connect, so you can keep shipping the way you already do.