magento-version-checker
Ensures that a Magento module has the expected Magento version installed., (*1)
How to use on a project
Run the following to add it to the composer.json of your Magento project., (*2)
composer require inviqa/magento-version-checker
It checks all the packages with the following type: "magento-module".
When it matches it compares the current version (1.1x) and edition (Enterprise or Community) of Magento
with the required Magento version of the module., (*3)
How to use with standalone Magento module
Run the following to add it to the composer.json of your Magento module., (*4)
composer require 'inviqa/magento-version-checker=1.*'
You need to specify the required magento versions in the extra section. You can specify the required
enterprise and/or community edition as well., (*5)
"extra": {
"magento-version-ee": "^1.12.0", // means >= 1.12.0 Enterpise Edition
"magento-version-ce": "^1.9.0" // means >= 1.9.0 Community Edition
}
Known issues
You may get the error below when running composer install the first time., (*6)
[ErrorException]
include(MagentoHackathon\Composer\Magento\Deploystrategy\.php): failed to open stream: No such file or directory
Workaround: run composer install
again., (*7)
Contributing
- Fork the repository
git clone git@github.com:inviqa/magento-version-checker.git
- Create a topic branch
git checkout -b my_branch
- Push to your branch
git push origin my_branch
- Create a Pull Request from your branch, include as much documentation as you can in the commit message/pull request,
following these guidelines on writing a good commit message
- That's it!
License
```text
Copyright:: 2015-2016 The Inviqa Group Ltd, (*8)
See LICENSE file, (*9)