What is the use of defining require field in a composer.json?

“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 the require key. You’re simply telling Composer which packages your project depends on.

See also: