On Symfony 2.3 and using composer trying to install a new bundleI get the following:
Loading composer repositories with package information Updating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages.
Problem 1 - The requested package doctrine/doctrine-bundle (locked at v1.2.0, required as ~1.4) is satisfiable by doctrine/doctrine-bundle[v1.2.0] but these conflict with your requirements or minimum-stability. Problem 2 - The requested package doctrine/cache (locked at v1.3.0, required as ~1.6) is satisfiable by doctrine/cache[v1.3.0] but these conflict with your requirements or minimum-stability.
Installation failed, reverting ./composer.json to its original content.
How do I resolve these?
My json file:
"php": ">=5.3.3",
"symfony/symfony": "2.3.*",
"doctrine/orm": "~2.2,>=2.2.3,<2.5",
"doctrine/dbal": "<2.5",
"doctrine/doctrine-bundle": "~1.4",
"doctrine/cache": "~1.6"
},
"minimum-stability": "stable",
"extra": {
"symfony-app-dir": "app",
"symfony-web-dir": "web",
"incenteev-parameters": {
"file": "app/config/parameters.yml"
},
"branch-alias": {
"dev-master": "2.3-dev"
}
}
composer.json
? It looks like there is problem withminimum-stability
line. Also try removing it. – Tomas Votrubastable
versions oddev
versions (unstable). There is default value"minimum-stability": "stable",
so you can delete it. It looks like it is Symfony sandbox'scomposer.json
. You can also leavebranch-alias
part. What happened after the removal? – Tomas Votruba