I am creating a module in Magento 2. Now I am writing composer.json. Here I write supporting PHP version

"require": {
    "php": "~5.6.0|^7.0.0",

How do I write my module will be supported by Magento version greater than 2.1, not support by 2.0

I found

 "magento/framework": "^102.0.0",
"magento/module-backend": "^101.0.0"

What is the meaning of above lines . is it the version of Magento? what are 102.0.0 means?

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.