magetools
Set of utilities for fast manage Magento 1.X
Goal
- Simplify the debugging of Magento
- Simplify the switching of modules which have a lot of dependencies and depends from other
- Make the support of Magento more interesting and amusing yet :)
Requirements
- PHP 5.3+ (cli)
- Unix-based OS
Installation
- Clone this repository locally
- Set permissions of bin/mage.phar for executing
chmod +x magetools/bin/mage.phar
- Link mage.phar into your local ~/bin folder
ln -s `pwd`/magetools/bin/mage.phar ~/bin/mage.phar
How to use it?
Just run $ mage.phar
and you will get following usage infomation:
Usage:
mage.phar
mage.phar -h | --help
mage.phar <command> [<args>]
Options:
-h --help Show this screen
The most commonly used mage commands are:
--v | --version Show Magento version
--mt | --modtree Show module(-s) dependencies tree
--em | --enmod Enable specified module
--dm | --dismod Disable specified module
--edm | --endevmode Enable MAGE_IS_DEVELOPER_MODE
--ddm | --disdevmode Disable MAGE_IS_DEVELOPER_MODE
--ep | --enprof Enable Varien_Profiler
--dp | --disprof Disable Varien_Profiler
--esd | --ensqldebug Enable SQL debug
--dsd | --dissqldebug Disable SQL debug
--c | --cache Show cache information
--cc | --cache-clean Clean cache
--ce | --cache-enable Enable cache
--cd | --cache-disable Disable cache