I can't install sonata-project/user-bundle with symfony2 2.4. Composer gives me such error message:
Problem 1
- Conclusion: remove symfony/symfony v2.4.0
- Installation request for symfony/framework-standard-edition 2.4.x-dev -> satisfiable by symfony/framework-standard-edition[2.4.x-dev].
- Conclusion: don't install symfony/symfony v2.4.0
- Installation request for sonata-project/user-bundle 2.2.2 -> satisfiable by sonata-project/user-bundle[2.2.2].
- Installation request for friendsofsymfony/user-bundle ~2.0#dev -> satisfiable by friendsofsymfony/user-bundle[2.0.x-dev].
- symfony/framework-standard-edition 2.4.x-dev requires sensio/framework-extra-bundle ~3.0 -> satisfiable by sensio/framework-extra-bundle[v3.0.0].
- sensio/framework-extra-bundle v3.0.0 requires symfony/framework-bundle ~2.4 -> satisfiable by symfony/symfony[v2.4.0], symfony/framework-bundle[v2.4.0].
- sensio/framework-extra-bundle v3.0.0 requires symfony/framework-bundle ~2.4 -> satisfiable by symfony/symfony[v2.4.0], symfony/framework-bundle[v2.4.0].
- Conclusion: don't install symfony/framework-bundle v2.4.0
My composer.json:
{
"name": "symfony/framework-standard-edition",
"license": "MIT",
"type": "project",
"description": "The \"Symfony Standard Edition\" distribution",
"autoload": {
"psr-0": { "": "src/" }
},
"require": {
"php": ">=5.3.3",
"symfony/symfony": "2.*",
"doctrine/orm": "~2.2,>=2.2.3",
"doctrine/doctrine-bundle": "~1.2",
"twig/extensions": "~1.0",
"symfony/assetic-bundle": "~2.3",
"symfony/swiftmailer-bundle": "~2.3",
"symfony/monolog-bundle": "~2.4",
"sensio/distribution-bundle": "~2.3",
"sensio/framework-extra-bundle": "~3.0",
"sensio/generator-bundle": "~2.3",
"incenteev/composer-parameter-handler": "~2.0",
"friendsofsymfony/user-bundle": "~2.0#dev",
"stof/doctrine-extensions-bundle": "~1.1#dev",
"sonata-project/admin-bundle": "~2.1",
"sonata-project/doctrine-orm-admin-bundle": "~2.1",
"sonata-project/user-bundle": "2.2.2",
"knplabs/knp-paginator-bundle": "2.3.*",
"knplabs/knp-menu-bundle": "1.1.*",
"knplabs/knp-menu": "1.1.*"
},
"scripts": {
"post-install-cmd": [
"Incenteev\\ParameterHandler\\ScriptHandler::buildParameters",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile"
],
"post-update-cmd": [
"Incenteev\\ParameterHandler\\ScriptHandler::buildParameters",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile"
]
},
"config": {
"bin-dir": "bin"
},
"extra": {
"symfony-app-dir": "app",
"symfony-web-dir": "web",
"incenteev-parameters": {
"file": "app/config/parameters.yml"
},
"branch-alias": {
"dev-master": "2.4-dev"
}
}
}
When I delete line "sonata-project/user-bundle": "2.2.2", from composer.json - composer update runs smoothly.
Is sonata-user [2.2.2] not compatible with Symfony2 2.4 ? I can't find any official info about that.
I chceck composer.json od SonataUserBundle and SonataAdminBundle (which I installed successfully), and both require "symfony/http-foundation": "~2.2", so I'm realy out of ideas...
Update
Ticket in github
https://github.com/sonata-project/SonataUserBundle/issues/300#issuecomment-31214179
Change version of friendsofsymfony/user-bundle by modifying composer.json -
"friendsofsymfony/user-bundle": "1.3.3",
and issue the command:
composer update
Worked for me on Symfony 2.4.0
Good News!
I have added fixes to make SonataUserBundle work with FOSUserBundle 2.0*
https://github.com/sonata-project/SonataUserBundle/pull/303
Related
im trying to update symfony 2.6 to 2.7
i've changed in my composer.json to 2.7 version
"symfony/symfony": "2.7.*"
im running
composer update symfony/symfony --with-dependencies
and getting this error
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
- Conclusion: don't install symfony/symfony v2.7.41
- Conclusion: don't install symfony/symfony v2.7.40
........
- Conclusion: don't install symfony/symfony v2.7.2
- Conclusion: don't install symfony/symfony v2.7.1
- don't install symfony/asset v3.4.4|don't install symfony/symfony v2.7.0
- don't install symfony/symfony v2.7.0|remove symfony/asset v3.4.4
- don't install symfony/symfony v2.7.0|don't install symfony/asset v3.4.4
- Installation request for symfony/symfony 2.7.* -> satisfiable by symfony/symfony[v2.7.0, v2.7.1, v2.7.10, v2.7.11, v2.7.12, v2.7.13, v2.7.14, v2.7.15, v2.7.16, v2.7.17, v2.7.18, v2.7.19, v2.7.2
, v2.7.20, v2.7.21, v2.7.22, v2.7.23, v2.7.24, v2.7.25, v2.7.26, v2.7.27, v2.7.28, v2.7.29, v2.7.3, v2.7.30, v2.7.31, v2.7.32, v2.7.33, v2.7.34, v2.7.35, v2.7.36, v2.7.37, v2.7.38, v2.7.39, v2.7.4, v
2.7.40, v2.7.41, v2.7.5, v2.7.6, v2.7.7, v2.7.8, v2.7.9].
- Installation request for symfony/asset (locked at v3.4.4) -> satisfiable by symfony/asset[v3.4.4].
i dont understand what it wants from me
here is my composer.json
{
"name": "symfony/framework-standard-edition",
"license": "MIT",
"type": "project",
"description": "The \"Symfony Standard Edition\" distribution",
"autoload": {
"psr-0": { "": "src/", "SymfonyStandard": "app/" }
},
"require": {
"php": ">=5.3.9",
"doctrine/doctrine-bundle": "~1.2",
"doctrine/orm": "~2.2,>=2.2.3",
"incenteev/composer-parameter-handler": "~2.0",
"sensio/distribution-bundle": "~3.0",
"sensio/framework-extra-bundle": "~3.0",
"symfony/assetic-bundle": "~2.3",
"symfony/monolog-bundle": "~2.4",
"symfony/swiftmailer-bundle": "~2.3",
"symfony/symfony": "2.7.*",
"twig/extensions": "~1.0",
"gedmo/doctrine-extensions": "^2.3.1",
"stof/doctrine-extensions-bundle": "dev-master",
"symfony/dom-crawler": "~2.6",
"friendsofsymfony/user-bundle": "~2.0#dev",
"ircmaxell/password-compat": "^1.0",
"helios-ag/fm-elfinder-bundle": "~5",
"egeloen/ckeditor-bundle": "^3.0",
"vich/uploader-bundle": "^1.4",
"google/apiclient": "~2.0",
"masih/youtubedownloader": "^2.8"
},
"require-dev": {
"sensio/generator-bundle": "~2.3"
},
"scripts": {
"post-root-package-install": [
"SymfonyStandard\\Composer::hookRootPackageInstall"
],
"post-install-cmd": [
"Incenteev\\ParameterHandler\\ScriptHandler::buildParameters",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::removeSymfonyStandardFiles"
],
"post-update-cmd": [
"Incenteev\\ParameterHandler\\ScriptHandler::buildParameters",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::removeSymfonyStandardFiles"
]
},
"config": {
"bin-dir": "bin",
"component-dir": "web/assets"
},
"extra": {
"symfony-app-dir": "app",
"symfony-web-dir": "web",
"incenteev-parameters": {
"file": "app/config/parameters.yml"
},
"branch-alias": {
"dev-master": "2.7-dev"
}
}
}
i've updated symfony/assets separately but it did not help
also tried updating sensio/framework-extra-bundle and vich/uploader-bundle
which are referencing the symfoy/asset bundle
this also did not help
thanks for the comments
i've installed clean symfony 2.7
based on previous composer why symfony/asset
that told me vich/uploader-bundle 1.4.2 requires symfony/asset (^2.3|^3.0)
i added it first with composer require vich/uploader-bundle
it automatically added version ^0.14.0
i've copied it to my composer and updated only it
composer update vich/uploader-bundle --with-dependencies
and after that changed symfony version to 2.7 and updated
composer update symfony/symfony --with-dependencies
everything worked fine :)
I have a Symfony 3.1 project which uses the finder component. I'm now trying to build a CRUD interface with kunstmaan/adminlist-bundle.
I'm struggling to resolve requirements for composer.
From starting installing kunstmaan bundles it appears they are only compatible with Symfony 2.7 or 2.8?
I seem to have been going in circles with this for a while. What is a good strategy to resolve these issues?
composer.json:
{
"name": "jochen/processor",
"license": "proprietary",
"type": "project",
"minimum-stability": "dev",
"autoload": {
"psr-4": {
"": "src/"
},
"classmap": [
"app/AppKernel.php",
"app/AppCache.php"
]
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"require": {
"php": ">=7.0.0",
"symfony/symfony": "2.7.*",
"doctrine/orm": "^2.5",
"doctrine/doctrine-bundle": "^1.6",
"doctrine/doctrine-cache-bundle": "^1.2",
"symfony/swiftmailer-bundle": "^2.3",
"symfony/monolog-bundle": "^2.7",
"symfony/polyfill-apcu": "^1.0",
"symfony/finder": "#dev",
"sensio/distribution-bundle": "^5.0",
"sensio/framework-extra-bundle": "^3.0.2",
"incenteev/composer-parameter-handler": "^2.0",
"kunstmaan/admin-bundle": "#dev",
"kunstmaan/adminlist-bundle": "#dev",
"kunstmaan/generator-bundle": "^3.5"
},
"require-dev": {
"sensio/generator-bundle": "^3.0",
"symfony/phpunit-bridge": "^3.0"
},
"scripts": {
"symfony-scripts": [
"Incenteev\\ParameterHandler\\ScriptHandler::buildParameters",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::prepareDeploymentTarget"
],
"post-install-cmd": [
"#symfony-scripts"
],
"post-update-cmd": [
"#symfony-scripts"
]
},
"extra": {
"symfony-app-dir": "app",
"symfony-bin-dir": "bin",
"symfony-var-dir": "var",
"symfony-web-dir": "web",
"symfony-tests-dir": "tests",
"symfony-assets-install": "relative",
"incenteev-parameters": {
"file": "app/config/parameters.yml"
}
}
}
Composer output
composer update
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
- kunstmaan/generator-bundle 3.5.x-dev requires symfony/symfony ~2.8 -> satisfiable by symfony/symfony[2.8.x-dev].
- kunstmaan/generator-bundle 3.5.0 requires symfony/symfony ~2.8 -> satisfiable by symfony/symfony[2.8.x-dev].
- kunstmaan/generator-bundle 3.5.1 requires symfony/symfony ~2.8 -> satisfiable by symfony/symfony[2.8.x-dev].
- kunstmaan/generator-bundle 3.5.x-dev requires symfony/symfony ~2.8 -> satisfiable by symfony/symfony[2.8.x-dev].
- Conclusion: don't install symfony/symfony 2.8.x-dev
- Installation request for kunstmaan/generator-bundle ^3.5 -> satisfiable by kunstmaan/generator-bundle[3.5.0, 3.5.1, 3.5.x-dev].
The kunstmaan/generator-bundle "^3.5" that you have in your composer.json requires symfony 2.8 (as you can see in https://packagist.org/packages/kunstmaan/generator-bundle#3.5.1). In your composer.json you have symfony 2.7.*. Change it to 2.8.*.
Im facing issues installing the wiseape/sofort-ueberweisung gateway for the payum bundle. I can see it's a version dependency issue on payum core but can't figure out how to solve it.
My installed payum core has version 1.1 and wiseape/sofort-ueberweisung only requires 0.12.0 so I'm lost here as it also tells me to not install a core version of 0.12.x-dev?
This is the package: https://github.com/wiseape/payum-sofortuberweisung
This is the command I run:
sudo php composer.phar require "wiseape/payum-sofortuberweisung"
This is the result:
Using version ^1.1 for wiseape/payum-sofortuberweisung
./composer.json has been updated
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
- wiseape/payum-sofortuberweisung 1.x-dev requires payum/core ~0.12.0 -> satisfiable by payum/core[0.12.x-dev].
- wiseape/payum-sofortuberweisung v1.1.0 requires payum/core ~0.12.0 -> satisfiable by payum/core[0.12.x-dev].
- wiseape/payum-sofortuberweisung v1.1.1 requires payum/core ~0.12.0 -> satisfiable by payum/core[0.12.x-dev].
- wiseape/payum-sofortuberweisung v1.1.2 requires payum/core ~0.12.0 -> satisfiable by payum/core[0.12.x-dev].
- wiseape/payum-sofortuberweisung v1.1.3 requires payum/core ~0.12.0 -> satisfiable by payum/core[0.12.x-dev].
- wiseape/payum-sofortuberweisung v1.1.4 requires payum/core ~0.12.0 -> satisfiable by payum/core[0.12.x-dev].
- wiseape/payum-sofortuberweisung v1.1.5 requires payum/core ~0.12.0 -> satisfiable by payum/core[0.12.x-dev].
- Conclusion: don't install payum/core 0.12.x-dev
- Installation request for wiseape/payum-sofortuberweisung ^1.1 -> satisfiable by wiseape/payum-sofortuberweisung[1.x-dev, v1.1.0, v1.1.1, v1.1.2, v1.1.3, v1.1.4, v1.1.5].
This is my composer.json
{
"minimum-stability": "dev",
"name": "ubuntu/api",
"license": "proprietary",
"type": "project",
"autoload": {
"psr-4": {
"": "src/"
},
"files": [
"app/AppKernel.php"
]
},
"require": {
"php": ">=5.3.9",
"symfony/symfony": "2.8.*#dev",
"doctrine/orm": "^2.4.8",
"doctrine/doctrine-bundle": "~1.4",
"symfony/swiftmailer-bundle": "~2.3",
"symfony/monolog-bundle": "~2.4",
"sensio/distribution-bundle": "~5.0#dev",
"sensio/framework-extra-bundle": "^3.0.2",
"incenteev/composer-parameter-handler": "~2.0",
"snc/redis-bundle": "1.1.8",
"predis/predis": "0.8.*",
"payum/payum-bundle": "*#stable",
"psliwa/pdf-bundle": "^1.0",
"tfox/mpdf-port-bundle": "^1.3",
"payum/offline": "*#stable",
"payum/paypal-express-checkout-nvp": "^1.1",
"phpunit/phpunit": "^5.1",
"payum/core": "^1.1",
},
"require-dev": {
"sensio/generator-bundle": "~3.0",
"symfony/phpunit-bridge": "~2.7"
},
"scripts": {
"post-install-cmd": [
"Incenteev\\ParameterHandler\\ScriptHandler::buildParameters",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::prepareDeploymentTarget"
],
"post-update-cmd": [
"Incenteev\\ParameterHandler\\ScriptHandler::buildParameters",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::prepareDeploymentTarget"
]
},
"config": {
"bin-dir": "bin"
},
"extra": {
"symfony-app-dir": "app",
"symfony-web-dir": "web",
"symfony-assets-install": "relative",
"incenteev-parameters": {
"file": "app/config/parameters.yml"
}
}
}
The short answer the library you want to use require pretty old payum core. There are four ways to go:
You can downgrade payum core version. In this case you can lost bug fixes, and feature improvements made in Payum.
Upgrade the library wiseape/sofort-ueberweisung up to 1.0 version. Upgrade notes may help you here a lot: https://github.com/Payum/Payum/blob/master/UPGRADE.md
There is an alternative extension https://github.com/invit/payum-sofortueberweisung which works in production, though it requrie payum version 0.15. Should be easier to upgrade from it to 1.0.
Also I started adding the sofort extension right into payum https://github.com/Payum/Payum/pull/447. The PR based on init's work. There are some things to finish up and test. Unfortunately I dont give you any ETA.
I am trying to setup a Symfony project that I cloned from a github repo but I'm having problems installing the dependencies.
When I run composer install, this is the result:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for doctrine/mongodb 1.0.0-BETA1 -> satisfiable by doctrine/mongodb[1.0.0-BETA1].
- doctrine/mongodb 1.0.0-BETA1 requires ext-mongo * -> the requested PHP extension mongo is missing from your system.
Problem 2
- Installation request for symfony/icu 1.1.x-dev -> satisfiable by symfony/icu[1.1.x-dev].
- symfony/icu 1.1.x-dev requires lib-icu >=3.8 -> the requested linked library icu has the wrong version installed or is missing from your system, make sure to have the extension providing it.
Problem 3
- symfony/icu 1.1.x-dev requires lib-icu >=3.8 -> the requested linked library icu has the wrong version installed or is missing from your system, make sure to have the extension providing it.
- symfony/symfony 2.3.x-dev requires symfony/icu ~1.0 -> satisfiable by symfony/icu[1.1.x-dev].
- Installation request for symfony/symfony 2.3.x-dev -> satisfiable by symfony/symfony[2.3.x-dev].
This is the composer.json
{
"name": "symfony/framework-standard-edition",
"description": "The \"Symfony Standard Edition\" distribution",
"autoload": {
"psr-0": { "": "src/" }
},
"require": {
"php": ">=5.3.3",
"symfony/symfony": "2.3.*",
"symfony/icu": "1.1.*",
"doctrine/orm": "2.3.4",
"doctrine/common": "2.3.0",
"doctrine/mongodb-odm": "1.0.*#dev",
"doctrine/mongodb-odm-bundle": "3.0.*#dev",
"twig/twig": "v1.12.2",
"twig/extensions": "v1.0.0",
"monolog/monolog": "1.3.1",
"symfony/monolog-bundle": "v2.3.0",
"doctrine/doctrine-bundle": "v1.2.0",
"doctrine/dbal": "v2.3.2",
"doctrine/doctrine-fixtures-bundle": "2.2.*",
"sensio/generator-bundle": "v2.3.4",
"jdorn/sql-formatter": "v1.2.0",
"gedmo/doctrine-extensions": "v2.3.5",
"symfony/assetic-bundle": "2.4.*#dev",
"symfony/swiftmailer-bundle": "master",
"jms/security-extra-bundle": "1.1.*",
"jms/di-extra-bundle": "1.0.*",
"jms/debugging-bundle": "dev-master",
"sensio/distribution-bundle": "2.3.*",
"sensio/framework-extra-bundle": "2.3.*",
"guzzle/guzzle": "*",
"rezzza/mailchimp-bundle": "1.0.*#dev",
"knplabs/gaufrette": "dev-master",
"knplabs/knp-gaufrette-bundle": "0.2.*#dev",
"imagine/Imagine": "dev-master",
"stfalcon/tinymce-bundle": "v0.2.0",
"gregwar/captcha-bundle": "dev-master",
"friendsofsymfony/rest-bundle": "1.2.2",
"jms/serializer-bundle": "0.13.0",
"chromedia/utilities": "dev-master",
"chromedia/security-token-bundle": "dev-master"
},
"scripts": {
"post-install-cmd": [
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets"
],
"post-update-cmd": [
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets"
]
},
"config": {
"bin-dir": "bin"
},
"extra": {
"symfony-app-dir": "app",
"symfony-web-dir": "web"
},
"minimum-stability": "dev"
}
Thanks!
The composer explicitly say that your system misses ext-mongo, lib-icu, and the symfony/icu which is dependent on the 2nd one.
For ext-mongo, check in your php.ini if extension=mongo.so is commented, if it is, uncomment it.
For lib-icu, your missing the intl extension of php for the setup you can follow this answer: Problems with lib-icu dependency when installing Symfony 2.3.x via Composer
I have troubles while installing SonataPageBundle using composer.
I am using this tutorial for how to install SonataPageBundle.
I installed all the dependencies but when I type this "php composer.phar require symfony-cmf/routing-bundle"
Jordis-iMac:symfony jordikroon$ php composer.phar require sonata-project/page-bundle
Please provide a version constraint for the sonata-project/page-bundle requirement: dev-master
composer.json has been updated
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
- Installation request for sonata-project/page-bundle dev-master -> satisfiable by sonata-project/page-bundle[dev-master].
- sonata-project/page-bundle dev-master requires symfony-cmf/routing-bundle 1.1.*#dev -> no matching package found.
Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see <https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> for more details.
Read <http://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
Installation failed, reverting composer.json to its original content.
I tried to install the routing bundle but it gives errors too.
This is my composor.json file:
{
"name": "symfony/framework-standard-edition",
"license": "MIT",
"type": "project",
"description": "The \"Symfony Standard Edition\" distribution",
"autoload": {
"psr-0": { "": "src/" }
},
"require": {
"php": ">=5.3.3",
"symfony/symfony": "2.3.*",
"doctrine/orm": ">=2.2.3,<2.4-dev",
"doctrine/doctrine-bundle": "1.2.*",
"twig/extensions": "1.0.*",
"symfony/assetic-bundle": "2.3.*",
"symfony/swiftmailer-bundle": "2.3.*",
"symfony/monolog-bundle": "2.3.*",
"sensio/distribution-bundle": "2.3.*",
"sensio/framework-extra-bundle": "2.3.*",
"sensio/generator-bundle": "2.3.*",
"incenteev/composer-parameter-handler": "~2.0",
"friendsofsymfony/user-bundle": "*",
"sonata-project/admin-bundle": "dev-master",
"sonata-project/doctrine-orm-admin-bundle": "dev-master",
"sonata-project/user-bundle": "dev-master",
"sonata-project/cache-bundle": "dev-master",
"sonata-project/seo-bundle": "dev-master",
"sonata-project/notification-bundle": "dev-master",
"videlalvaro/php-amqplib": "dev-master",
"liip/monitor-bundle": "dev-master",
"sonata-project/page-bundle": "*"
},
"scripts": {
"post-install-cmd": [
"Incenteev\\ParameterHandler\\ScriptHandler::buildParameters",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile"
],
"post-update-cmd": [
"Incenteev\\ParameterHandler\\ScriptHandler::buildParameters",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile"
]
},
"config": {
"bin-dir": "bin"
},
"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"
}
}
}
What do I do wrong? Any help is welcome.
Looks like you are missing the symfony-cmf/routing-bundle.
Add in composer.json
require : {
....
"symfony-cmf/symfony-cmf": "1.1.*#dev"
....
}
or other package needed.
If there are more problems, check the dependencies in Packagist, looking for the missing package