I got this requirement in my composer.json
:
\"php\": \">= 5.6\",
\"symfony/http-foundation\": \"^3.0\"
The problem with that co
If you want to make composer.lock
compatible with PHP 5.6, you have at least two options to achieve that:
Use PHP 5.6 for composer update
- you should be able to install multiple versions of PHP on your OS and run Composer like this:
/path/to/php6.5 /path/to/composer update
Use platform settings in composer.json
to force installation for specific version regardless PHP version used to run Composer commands:
"config": {
"platform": {
"php": "5.6.38"
}
},