Yireo Enable Module Sequence
yireo/magento2-enable-module-sequence
Adds a bin/magento module:sequence command that enables a module together with all the dependencies declared in its module.xml sequence in a single step.
- Supported Magento versions
- 2.4.9
- License
- OSL-3.0
- Categories
- Developer Tools
5,933 installs★ 0 stars955 downloads/monthLatest: v1.0.3Released 2026-10-12
composer require yireo/magento2-enable-module-sequenceREADME
Reproduced from the package’s own README, under its own license, as of 2026-10-31. Links and images point back at the source repository.
When running the Magento 2 command bin/magento module:enable for a given module, the dependencies of that module (as declared in the sequence of its etc/module.xml file) is not enabled. This is a good thing, because not always does the sequence reflect all neccessary dependencies. But if so, this module gives you a command to enable all dependencies at once.
composer require yireo/magento2-enable-module-sequence bin/magento module:enable Yireo_EnableModuleSequence
bin/magento module:sequence Yireo_Example
Multiple modules can be passed at once. All of them, plus their sequence dependencies (recursively), are
enabled in a single module:enable call:
bin/magento module:sequence Yireo_Example Yireo_AnotherExample
Links
- Packagist
- PackageMaven (source of the quality data)
- Repository
- Issues