“require”: {
“php”: “~5.5.0|~5.6.0|~7.0.0”,
“magento/module-config”: “100.0.",
“magento/module-store”: "100.0.”,
“magento/module-page-cache”: “100.0.",
“magento/module-directory”: "100.0.”,
“magento/module-backend”: “100.0.",
“magento/framework”: "100.0.”
},
The first (and often only) thing you specify in
composer.json
is therequire
key. You’re simply telling Composer which packages your project depends on.
https://getcomposer.org/doc/01-basic-usage.md#the-require-key