Thursday 15 May 2014

php - Symfony2 CMF Routing Auto Bundle - can't install -



php - Symfony2 CMF Routing Auto Bundle - can't install -

i trying setup symfony2 cmf experiencing problem installing symfony-cmf/routing-auto-bundle. tutorials have followed appear indicate should simple composer, see next error.

problem 1 - installation request symfony-cmf/routing-auto-bundle dev-master -> satisfiable symfony-cmf/routing-auto-bundle[dev-master]. - symfony-cmf/routing-auto-bundle dev-master requires symfony-cmf/routing-auto 1.0.* -> no matching bundle found.

my composer.json below.

{ "name": "symfony/framework-standard-edition", "license": "mit", "type": "project", "description": "the \"symfony standard edition\" distribution", "autoload": { "psr-0": { "": "src/", "symfonystandard": "app/" } }, "repositories": [ { "type": "package", "package": { "name": "jquery/jquery", "version": "1.11.1", "dist": { "url": "http://code.jquery.com/jquery-1.11.1.js", "type": "file" } } } ], "require": { "php": ">=5.3.3", "symfony/symfony": "2.5.*", "doctrine/orm": "~2.2,>=2.2.3", "doctrine/doctrine-bundle": "~1.2", "doctrine/data-fixtures": "1.0.*", "twig/extensions": "~1.0", "symfony/assetic-bundle": "~2.3", "symfony/swiftmailer-bundle": "~2.3", "symfony/monolog-bundle": "~2.4", "sensio/distribution-bundle": "~3.0", "sensio/framework-extra-bundle": "~3.0", "incenteev/composer-parameter-handler": "~2.0", "mailgun/mailgun-php": "~1.7.1", "symfony/monolog-bundle": "~2.4", "braincrafted/bootstrap-bundle": "~2.0", "twbs/bootstrap": "3.0.*", "twbs/bootstrap-sass": "3.1.*", "jquery/jquery": "1.11.*", "friendsofsymfony/user-bundle": "~2.0@dev", "jackalope/jackalope-doctrine-dbal": "1.1.*", "doctrine/phpcr-odm": "1.1.*", "doctrine/phpcr-bundle": "1.1.*", "symfony-cmf/symfony-cmf": "1.1.*", "symfony-cmf/routing-auto-bundle": "dev-master", "sonata-project/doctrine-phpcr-admin-bundle": "1.2.*@dev", "doctrine/data-fixtures": "1.0.*@dev" }, "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", "braincrafted\\bundle\\bootstrapbundle\\composer\\scripthandler::install" ], "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", "braincrafted\\bundle\\bootstrapbundle\\composer\\scripthandler::install" ] }, "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.5-dev" } } }

any help much appreciated!

there no stable release of routingautobundle yet, right specify "dev-master", bundle uses routingauto component not yet released stable. have 2 options now: 1) add together dependency on "symfony-cmf/routing-auto": "dev-master" 2) set "minimum-stability": "dev"

php symfony2 composer-php symfony-cmf

No comments:

Post a Comment