Skip to content

Instantly share code, notes, and snippets.

@birchestx
Created August 9, 2015 06:38
Show Gist options
  • Save birchestx/b9b02e03ec32b909ef95 to your computer and use it in GitHub Desktop.
Save birchestx/b9b02e03ec32b909ef95 to your computer and use it in GitHub Desktop.
Enable/Disable Extensions
When you type bin/magento from base directory get these module options:
module
module:disable Disables specified modules
module:enable Enables specified modules
module:status Displays status of modules
module:uninstall Uninstalls modules installed by composer
bin/magento module:status lists all the modules installed. You can see these in app/etc/config.php
bin/magento module:disable <module_name> to disable - this is effectively like changing to false in app/etc/modules/<module_name>.xml in 1.x
All its doing under the hood is commenting out or uncommenting the module name in config.php (open to view it)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment