php - Required package couldn't be found in any version symfony2 -
php - Required package couldn't be found in any version symfony2 -
hey facing problem in symfony2 admin panel generation , version of symfony 2.5 , here issues while installing sonata admin bundle
problem 1 - installation request symfony-cmf/standard-edition 1.1.x-dev -> satisfi able symfony-cmf/standard-edition[1.1.x-dev]. - symfony-cmf/standard-edition 1.1.x-dev requires sonata-project/doctrine-ph pcr-admin-bundle 1.1.* -> no matching bundle found. potential causes: -a typo in bundle name -the bundle not available in stable-enough version according min imum-stability settingi searched on it, got stuff read nil help. can issue , best suitable solution. been 6 days stuck admin panel generation. next official documentation, backend - sonata admin , first statement directed me this , after next got errors. sorry, long story guys helpless. , while answering kindly explain me in simple word real solution :)
please provide version constraint sonata-project/admin-bundle requirement:
i tried dev-master , dev both, nil helped me.
your help appreciated :)
here composer.json
{ "name": "symfony-cmf/standard-edition", "homepage": "http://cmf.symfony.com", "license": "mit", "type": "project", "description": "the \"symfony cmf standard edition\" distribution", "authors": [ { "name": "symfony cmf community", "homepage": "https://github.com/symfony-cmf/standard-edition/contributors" } ], "autoload": { "psr-0": { "": "src/" } }, "minimum-stability": "dev", "require": { "php": ">=5.3.3", "symfony/symfony": "2.3.*", "jackalope/jackalope-doctrine-dbal": "1.1.*", "doctrine/doctrine-bundle": "1.2.*", "doctrine/data-fixtures": "1.0.*", "doctrine/doctrine-cache-bundle": "1.0.*", "twig/extensions": "1.0.*", "symfony/assetic-bundle": "2.3.*", "symfony/swiftmailer-bundle": "2.3.*", "symfony/monolog-bundle": "2.3.*", "symfony-cmf/symfony-cmf": "1.2.*", "symfony-cmf/simple-cms-bundle": "1.2.*", "symfony-cmf/create-bundle": "1.2.*", "sensio/distribution-bundle": "2.3.*", "sensio/framework-extra-bundle": "2.3.*", "sensio/generator-bundle": "2.3.*", "incenteev/composer-parameter-handler": "~2.0", "sonata-project/doctrine-phpcr-admin-bundle": "1.1.*", "nelmio/alice": "1.*", "sonata-project/admin-bundle": "2.2.*@dev" }, "require-dev": { "liip/functional-test-bundle": "1.0.*" }, "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", "symfony\\cmf\\bundle\\createbundle\\composer\\scripthandler::downloadcreateandckeditor" ], "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", "symfony\\cmf\\bundle\\createbundle\\composer\\scripthandler::downloadcreateandckeditor" ] }, "config": { "bin-dir": "bin" }, "extra": { "symfony-app-dir": "app", "symfony-web-dir": "web", "incenteev-parameters": { "file": "app/config/parameters.yml" }, "branch-alias": { "dev-master": "1.1-dev" } } }
i prefer follow installation instructions on official sonata admin site: http://sonata-project.org/bundles/admin/2-2/doc/reference/installation.html
add composer.json: "sonata-project/admin-bundle": "2.3.*@dev"
php symfony2 doctrine2 sonata-admin
Comments
Post a Comment