I'm getting error below when trying to install Behat+Mink+Selenium. What could be the solution?
php composer.phar install
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. Run update to update them.
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for symfony/framework-standard-edition 2.4.x-dev -> satisfiable by symfony/framework-standard-edition[2.4.x-dev].
- symfony/framework-standard-edition 2.4.x-dev requires behat/behat 2.4.*#stable -> 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.
Composer.json:
{
"name": "symfony/framework-standard-edition",
"license": "MIT",
"type": "project",
"description": "The \"Symfony Standard Edition\" distribution",
"minimum-stability": "dev",
"autoload": {
"psr-0": { "": "src/" }
},
"require": {
"php": ">=5.3.3",
"symfony/symfony": "~2.4",
"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",
"behat/behat": "2.4.*#stable",
"behat/mink": "1.4.*#stable",
"behat/mink-extension": "*",
"behat/mink-goutte-driver": "*",
"behat/mink-selenium2-driver": "*",
"behat/symfony2-extension": "*",
"behat/mink-browserkit-driver": "*",
"behat/mink-sahi-driver": "*",
"phpunit/phpunit": "3.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"
],
"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"
}
}
}
I'm following these two blogs to install it:
Installing, configuring and running Behat on Symfony2 with Mink and
Selenium
Installing Behat, Mink and Selenium2 for Symfony2
IMO, you have registered too many packages. For example, behat is a dependency of the symfony2-extension. So, just need to require the symfony2-extension and behat will be required :) The problem when you require everything explicitly is you need to check if every packages constraints can work together on packagist (which can becomes a pain)...
For a Symfony 2.4 project, I would use the following packages:
"require-dev": {
"behat/symfony2-extension": "~1.1",
"behat/mink-extension": "~1.3",
"behat/mink-selenium2-driver": "~1.1",
"behat/mink-goutte-driver": "~1.0",
}
I would suggest run composer require, and before you installing do a composer update so that all dependencies are at updated version. So the below dependencie were usesful for my symfony2.8 project:
composer update
composer require behat/behat
composer require behat/symfony2-extension
composer require behat/mink
composer require behat/mink-browserkit-driver
composer require behat/mink-extension
composer require behat/mink-goutte-driver
composer require behat/mink-selenium2-driver
composer require emuse/behat-html-formatter
composer require coduo/php-matcher
Related
I am installing a Symfony project when running composer install gives me the following error:
I have looked for there and usually recommend updating the symfony version but I cannot update it. In addition, the project is working on other equipment with the same composer.json
rick#mint:~/repos/myvitale$ composer install
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 orderly/paypal-ipn-bundle dev-master -> satisfiable by orderly/paypal-ipn-bundle[dev-master].
- Conclusion: don't install symfony/symfony v2.8.52
...
...
- Conclusion: don't install symfony/symfony v2.8.2
- don't install symfony/var-dumper v3.0.0|don't install symfony/symfony v2.8.0
- don't install symfony/var-dumper v3.0.1|don't install symfony/symfony v2.8.0
...
...
...
- orderly/paypal-ipn-bundle dev-master requires symfony/symfony >=2.0.12 -> satisfiable by symfony/symfony[v2.8.0, v2.8.1, v2.8.10,... ....].
- Conclusion: don't install symfony/symfony v2.8.1
- Installation request for symfony/var-dumper ^3.0 -> satisfiable by symfony/var-dumper[v3.0.0, v3.0.1,
and this is my composer.json
{
"name": "symfony/framework-standard-edition",
"description": "The \"Symfony Standard Edition\" distribution",
"autoload": {
"psr-4": {
"": "src/",
"SymfonyStandard\\": "app/SymfonyStandard/"
}
},
"require": {
"php": ">=5.3.9",
"symfony/symfony": "2.8.*",
"twig/twig": "<2.0",
"doctrine/orm": "^2.5",
"doctrine/dbal": "2.5.12",
"doctrine/doctrine-bundle": "~1.5",
"twig/extensions": "1.4.*",
"symfony/assetic-bundle": "~2.3",
"symfony/swiftmailer-bundle": "~2.3",
"symfony/monolog-bundle": "^3.0.2",
"sensio/distribution-bundle": "~4.0",
"sensio/framework-extra-bundle": "~3.0,>=3.0.2",
"sensio/generator-bundle": "~3.0",
"incenteev/composer-parameter-handler": "~2.0",
"knplabs/knp-snappy-bundle": "1.5.2",
"suncat/mobile-detect-bundle": "1.0.*",
"stof/doctrine-extensions-bundle": "~1.2.2",
"orderly/paypal-ipn-bundle": "dev-master",
"jms/translation-bundle": "#stable",
"jms/i18n-routing-bundle": "#stable",
"friendsofsymfony/rest-bundle": "1.8.0",
"nelmio/api-doc-bundle": "#stable",
"jms/serializer-bundle": "~2.3|3.*",
"friendsofsymfony/oauth-server-bundle": "^1.5",
"facebook/php-sdk-v4" : "4.0.*",
"symfony/var-dumper": "^3.0",
"stripe/stripe-php": "^3.20",
"iio/libmergepdf": "~3.0",
"jms/di-extra-bundle": "dev-master",
"gree/jose": "^2.2",
"friendsofsymfony/jsrouting-bundle": "^1.6",
"squizlabs/php_codesniffer": "*",
"javiereguiluz/easyadmin-bundle": "^1.16",
"willdurand/js-translation-bundle": "^2.6",
"limenius/react-bundle": "^0.14.0",
"h4cc/wkhtmltopdf-amd64": "0.12.x",
"lynx39/lara-pdf-merger": "dev-master",
"mikehaertl/php-pdftk": "^0.4.0",
"gos/web-socket-bundle": "^1.8",
"liuggio/excelbundle": "^2.1",
"h4cc/wkhtmltoimage-amd64": "0.12.3",
"guzzlehttp/guzzle": "^6.3",
"symfony/property-access": "2.8.*",
"symfony/property-info": "2.8.*"
},
"require-dev": {
"symfony/phpunit-bridge": "~2.7",
"escapestudios/symfony2-coding-standard": "3.x-dev"
},
"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",
"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::removeSymfonyStandardFiles",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::prepareDeploymentTarget"
]
},
"config": {
"bin-dir": "bin"
},
"minimum-stability": "stable",
"extra": {
"symfony-app-dir": "app",
"symfony-web-dir": "web",
"incenteev-parameters": {
"file": "app/config/parameters.yml"
}
}
}
This is happens in a usb live persistente ¿Is this important?
The bundle you are trying to install seems to be ok, when looking here you can see all the requirements for the bundle are achieved.
It may be a problem with the PHP version that is trying to use. Check which version is being used and make sure that is the right one (which I guess should be 5.6.40 because you're using Symfony 2.8). Then add "php": ">=5.3.9,<6" in the require section of your composer.json to limit the versions available to install.
Also add the platform which should be used (PHP version) in the config section of your composer.json (documentation).
"config": {
"platform": {
"php": "5.6.40"
}
},
Also you probably need to use the composer update command for this to take effect and being applied to the composer.lock file.
The symfony/symfony package already includes the VarDumper component (which you try to install with the symfony/var-dumper package). This is something Composer wrongly allowed in older versions and was fixed in Composer 1.7.3.
Do you really need the VarDumper component in version 3.0.x? If that's the case, you need to remove symfony/symfony first and require all the needed components explicitly.
This looks like a simple issue, but I can't explain what's happening.
In composer.json for my Symfony project the twig version is specified as <2.0, to avoid breaking changes between v1 and v2. However, Composer installs the latest Twig version (2.4.3) anyway.
php c:\php\composer\composer.phar depends -t "twig/twig"
twig/twig v2.4.3 Twig, the flexible, fast, and secure template language for PHP
|--symfony/framework-standard-edition dev-develop (requires twig/twig <2.0)
|--symfony/symfony v2.8.24 (requires twig/twig ~1.34|~2.4)
| `--symfony/framework-standard-edition dev-develop (requires symfony/symfony 2.8.*)
`--twig/extensions v1.5.1 (requires twig/twig ~1.27|~2.0)
`--symfony/framework-standard-edition dev-develop (requires twig/extensions ^1.3)
Relevant chunk of composer.json:
"require": {
"php": ">=5.3.3",
"symfony/symfony": "2.8.*",
"doctrine/dbal": "2.5.*",
"doctrine/orm": "2.5.*",
"doctrine/doctrine-bundle": "~1.2",
"twig/twig": "<2.0",
"twig/extensions": "^1.3",
etc
}
It looks to me like the requirements of the symfony/symfony and twig/extensions packages, combined with those of the project, would result in the highest possible 1.x version of Twig, 1.34.4, but that's not what happens. Why?
EDIT:
Composer 1.4.2
Full 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.3",
"symfony/symfony": "2.8.*",
"doctrine/dbal": "2.5.*",
"doctrine/orm": "2.5.*",
"doctrine/doctrine-bundle": "~1.2",
"twig/twig": "<2.0",
"twig/extensions": "^1.3",
"symfony/assetic-bundle": "^2.8",
"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",
"beberlei/DoctrineExtensions": "^1.0",
"royopa/fpdf-symfony2": "^1.0",
"liuggio/excelbundle": "^2.0",
"patchwork/jsqueeze": "^2.0",
"leafo/scssphp": "^0.6.5",
"doctrine/doctrine-migrations-bundle": "^1.0",
"ocramius/proxy-manager": "~2.0.0",
"aws/aws-sdk-php-symfony": "^1.2"
},
"require-dev": {
"sensio/generator-bundle": "~2.3",
"symfony/phpunit-bridge": "^3.1",
"deployer/deployer": "^3.3"
},
"scripts": {
"post-root-package-install": [
"SymfonyStandard\\Composer::hookRootPackageInstall"
],
"post-install-cmd": [
"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": [
"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"
},
"extra": {
"symfony-app-dir": "app",
"symfony-web-dir": "web",
"incenteev-parameters": {
"file": "app/config/parameters.yml"
},
"branch-alias": {
"dev-master": "2.5-dev"
}
}
}
EDIT 2:
Deleting composer.lock and completely updating and reinstalling gives me what I thought I should get!
What version of composer are you using?
I tested that json file on a Linux Mint 17, with php 5.5 and composer 1.3.2 and the twig version installed is the right one (twig/twig - v1.34.4).
Can you try to paste your complete composer.json file?
Also, I suggest removing the composer.lock file and all the contents of the vendor folder and try the install again.
I would like upgrade my symfony app which is based on symfony 2.3. I want to use the new feature with the bootstrap theme for forms.
I never make an symfony upgrade before so I read this chapter from symfony cookbook.
http://symfony.com/doc/current/cookbook/upgrading.html
After that, I have made changes in my "composer.json" and type "composer update symfony/symfony", but I get the following error messages
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
- don't install symfony/event-dispatcher 2.6.x-dev|don't install symfony/symfony v2.6.3
- don't install symfony/symfony v2.6.3|remove symfony/event-dispatcher 2.6.x-dev
- Installation request for symfony/symfony 2.6.3 -> satisfiable by symfony/symfony[v2.6.3].
- Installation request for symfony/event-dispatcher == 2.6.9999999.9999999-dev -> satisfiable by symfony/event-dispatcher[2.6.x-dev].
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.6.*",
"doctrine/orm": "~2.2,>=2.2.3",
"doctrine/doctrine-bundle": "1.2.*",
"twig/extensions": "1.0.*",
"symfony/assetic-bundle": "2.3.*",
"kriswallsmith/assetic": "1.1.2",
"symfony/swiftmailer-bundle": "2.3.*",
"symfony/monolog-bundle": "2.4.*",
"sensio/distribution-bundle": "2.3.*",
"sensio/framework-extra-bundle": "2.3.*",
"sensio/generator-bundle": "2.3.*",
"incenteev/composer-parameter-handler": "~2.0",
"knplabs/knp-menu": "2.0.*#dev",
"knplabs/knp-menu-bundle": "2.0.*#dev",
"symfony/event-dispatcher": "2.6.*#dev",
"knplabs/doctrine-behaviors": "dev-master",
"a2lix/translation-form-bundle": "dev-master",
"knplabs/knp-paginator-bundle": "~2.4",
"jms/serializer-bundle": "~0.13"
},
"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"
}
}
}
Can someone give me a tip?
You shouldn't have to manually specify the event dispatcher at all. Remove that, then take a look at this file:
https://github.com/symfony/symfony-standard/blob/2.6/composer.json
Make sure your composer dependencies match everything. Also make sure you have "dev-master": "2.6-dev" under branch-alias
Since Im getting error messages about the icu version When running php composer.phar install, I have added this line below as said here:
"symfony/icu": "1.1.*",
So my composer.json is like this:
{
"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/icu": "1.1.*",
"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",
"ziiweb/frontendbundle": "#dev",
"friendsofsymfony/user-bundle": "~2.0#dev",
"sonata-project/admin-bundle": "dev-master",
"sonata-project/core-bundle": "dev-master",
"sonata-project/doctrine-orm-admin-bundle": "dev-master",
"sonata-project/media-bundle": "dev-master"
},
"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"
}
}
}
But after installing again, I get this errors:
Problem 1
- The requested package symfony/icu could not be found in any version, there may be a typo in the package name. Problem 2
- Installation request for symfony/framework-standard-edition 2.3.x-dev -> satisfiable by symfony/framework-standard-edition[2.3.x-dev].
- symfony/framework-standard-edition 2.3.x-dev requires symfony/icu 1.1.* -> no matching package found. Problem 3
- Installation request for symfony/symfony v2.3.8 -> satisfiable by symfony/symfony[v2.3.8].
- symfony/symfony v2.3.8 requires symfony/icu ~1.0 -> no matching package found. Problem 4
- symfony/symfony v2.3.8 requires symfony/icu ~1.0 -> no matching package found.
- sonata-project/media-bundle 2.2.x-dev requires symfony/symfony ~2.2 -> satisfiable by symfony/symfony[v2.3.8].
- Installation request for sonata-project/media-bundle 2.2.x-dev -> satisfiable by sonata-project/media-bundle[2.2.x-dev].
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
.
it is "symfony/Icu" with capital letter
You need to download the INTL extension of PHP.Go to http://pecl.php.net/get/intl-3.0.0.tgz
Tar that file, and compile it with the following commands.
tar zxvf intl-3.0.0.tgz
cd intl-3.0.0
/usr/bin/phpize
./configure --with-php-config=[YOUR OWN INSTALLED PHP DIRECTORY]/bin/php-config
Update your php.ini.
extension=intl.so
Restart your php server
By the way, if the problem still shows up after you finish above procedures, please check if you install that extension for PHP CLI. You know there are different php.ini files for PHP and PHP CLI sometimes.
what worked for me was deleting the composer.lock file, then do a composer install.
edit: I also deleted the vendor directory
Pretty new to Symfony, I want to get the CMF to work but I'm having issues installing it using composer
When running the code in terminal I get this
Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. Run update to update them.
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for symfony/icu 1.2.x-dev -> satisfiable by symfony/icu[1.2.x-dev].
- symfony/icu 1.2.x-dev requires lib-icu >=4.4 -> 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 2
- symfony/icu 1.2.x-dev requires lib-icu >=4.4 -> 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.2.x-dev].
- Installation request for symfony/symfony 2.3.x-dev -> satisfiable by symfony/symfony[2.3.x-dev].
As requested my composer.json looks like this...
{
"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",
"knplabs/knp-paginator-bundle": "2.3.*#dev" },
"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"
}
}
}
I have run
composer.phar update
And get no errors but the other problems are a bit of a mystery to me
Any help would be appreciated...
Have a look at this comment: https://github.com/composer/composer/issues/1939#issuecomment-18510052 . You have to install php5-intl.