I read the documentation but when I do this :
php composer.phar require sonata-project/intl-bundle
I have this message in my console :5
Please provide a version constraint for the sonata-project/intl-bundle requirement:
So I tried “master” or “2.*” but this doesn’t work.
I’m using Symfony 2.1.7 and PHP 5.4.3, with the php_intl extension.
If someone can help me… Thanks !
You should take a look at their package to determine which version of the package you want. In this case, you only have a
dev-masterversion, so you should run this:For a longer answer on how to install bundles with composer, see this answer on another question