inviqa / magento-version-checker
Ensures that a Magento module has the expected Magento version installed.
Installs: 36
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 23
Forks: 1
Open Issues: 0
Type:composer-plugin
Requires
- composer-plugin-api: ^1.0
Requires (Dev)
- composer/composer: ^1.0@dev
This package is not auto-updated.
Last update: 2024-10-30 20:05:25 UTC
README
Ensures that a Magento module has the expected Magento version installed.
How to use on a project
Run the following to add it to the composer.json of your Magento project.
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.
How to use with standalone Magento module
Run the following to add it to the composer.json of your Magento module.
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.
"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.
[ErrorException]
include(MagentoHackathon\Composer\Magento\Deploystrategy\.php): failed to open stream: No such file or directory
Workaround: run composer install
again.
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
Copyright:: 2015-2016 The Inviqa Group Ltd
See LICENSE file