staempfli / magento2-code-generator

Code generator for Magento 2
250 stars 58 forks source link

Added global composer installation option #4

Closed rev42 closed 7 years ago

rev42 commented 7 years ago

To ease tool update, one other option is to install it globally on the system.

Then to update it, run composer global update staempfli/magento2-code-generator

jalogut commented 7 years ago

Hi @rev42

Thanks for your PR. I just merged it and changed a couple things because normal composer installation into a Magento2 project is no longer possible. The tool requires symfony/console >= 2.7 but Magento 2.1 requires a previous version. Once Magento 2.2 is out that should not be a problem anymore.