elgentos / magento2-composer-plugin
Magento 2 composer plugin
Installs: 16
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 3
Open Issues: 0
Type:composer-plugin
Requires
- php: >=5.4.0
- composer-plugin-api: ^1.1
This package is auto-updated.
Last update: 2024-11-07 02:39:54 UTC
README
This composer plugin adds a check after composer install
to see whether all modules that are defined in Magento 2's app/etc/config.php
are actually present in the codebase.
If an extension is defined in app/etc/config.php
and it is not available in the codebase, Magento 2 will just deploy and will give a warning in production. This plugin ensures the build step will fail due to a non-zero exit code this extension throws if it finds something wrong.
Installation
composer require elgentos/magento2-composer-plugin
Optional configuration
You can add an array to composer.json
under extra
to ignore some extensions;
{ "extra": { "magento2-ignore-extensions": [ "Mageplaza_Core", "Mageplaza_DeleteOrders" ] } }