Download the PHP package avstudnitz/disable-modules without Composer
On this page you can find all versions of the php package avstudnitz/disable-modules. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download avstudnitz/disable-modules
More information about avstudnitz/disable-modules
Files in avstudnitz/disable-modules
Package disable-modules
Short Description Adds a console command to show all modules which can be safely disabled as they have no declared dependencies
License OSL-3.0
Informations about the package disable-modules
AvS_DisableModules
Adds a shell command info:dependencies:show-removable
which exports all modules which have no dependencies
Facts
- version: 1.0.0
- extension on GitHub
- direct download link
- Composer key:
avstudnitz/disable-modules
(registered at Packagist)
Description
Call the new command as follows:
You'll get an output as follows:
The file "modules-removable.csv" will contain a list of modules:
No other modules have any dependencies declared to any of those modules, so they can be removed safely (in theory).
To remove them, add bin/magento module:disable
in front of the module name you want to remove, i.e.:
Requirements
- PHP >= 5.6.0
Compatibility
- Magento >= 2.1.0 (not tested on 2.0.x)
Installation Instructions
- Install the extension via Composer with the key shown above or copy all the files into the newly created directory
app/code/AvS/DisableModules/
in the Magento 2 root. - Enable the extension by calling
bin/magento module:enable AvS_DisableModules
. - Run
bin/magento setup:upgrade
.
Uninstallation
- Uninstall the extension by calling
bin/magento module:uninstall AvS_DisableModules
. - Remove all extension files from
app/code/AvS/DisableModules/
or use Composer to remove the extension if you have installed it with Composer
Support
If you have any issues with this extension, open an issue on GitHub.
Contribution
Any contribution is highly appreciated. The best way to contribute code is to open a pull request on GitHub.
Developer
Andreas von Studnitz, integer_net
Licence
OSL - Open Software Licence 3.0
Copyright
(c) 2017 Andreas von Studnitz / integer_net GmbH