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.

No errors foundPHPStan level 5Build passingTrusted vendorSemVer compliant

Supported Magento versions: 2.4.9

4,587 installs★ 0 starsLatest: v1.0.2Released 2026-06-05License: OSL-3.0

composer require yireo/magento2-enable-module-sequence

README

Reproduced from the package’s own README, under its own license, as of 2026-09-13. Links and images point back at the source repository.

Yireo EnableModuleSequence

Magento version PHP version License Latest Version

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.

Installation

composer require yireo/magento2-enable-module-sequence
bin/magento module:enable Yireo_EnableModuleSequence

Usage

bin/magento module:sequence Yireo_Example

Current status

Static Tests Unit Tests Integration Tests Playwright DI Compilation

← All packages from yireo