I have installed symfony very recently and it recommends me to get something called INTL extension...
I used Composer to install symfony after that I wanted to add that extension so I open composer.json in my folder and added symfony/intl like this
"require": {
"symfony/intl": "2.3.*",
"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"
},
and used Composer update which gives the following
******* path # composer update
Loading composer repositories with package information
Updating dependencies (including require-dev)
Nothing to install or update
Generating autoload files
Updating the "app/config/parameters.yml" file.
Clearing the cache for the dev environment with debug true
Installing assets using the hard copy option
Installing assets for Symfony\Bundle\FrameworkBundle into web/bundles/framework
Installing assets for Acme\DemoBundle into web/bundles/acmedemo
Installing assets for Sensio\Bundle\DistributionBundle into web/bundles/sensiodi
which means composer didn't download the lib I removed the Composer.lock file and ran Composer Install and also composer require still nothing....
but interesting thing is when I go to an empty folder and used "composer require" it worked and downloaded the INTL !
I think the goal of composer is to add libs I want when I want them so
what's the problem ? Why I can't add new libs ??