This repository has been archived by the owner. It is now read-only.
[DEPRECATED] This repository only exists for BC compatibility with old versions of Symfony. Recent versions comes with ICU data.
Clone or download
fabpot bug #11 Declare dependency on ext/intl (dzuelke)
This PR was merged into the 1.2.x branch.

Discussion
----------

Declare dependency on ext/intl

Composer's error messages are confusing if the `intl` extension is not present on a system, and upcoming extension installers (think Pickle integration etc) or other means (my use case: auto-enable intl on Heroku if a dependency needs it) can enable the extension without having to alias "lib-icu" to "ext-intl" somehow.

Commits
-------

36f7e55 Declare dependency on ext/intl
Latest commit d4d85d6 Jul 25, 2014

README.md

Icu Component

Contains data of the ICU library.

The bundled resource files have the [resource bundle format version 2.*] 1, which can be read using ICU 4.4 and later. Compatibility can be tested with the test-compat.php script bundled in the Intl component:

php path/to/Symfony/Component/Intl/Resources/bin/test-compat.php

You should not directly use this component. Use it through the API of the [Intl component] 2 instead.

Resources

You can run the unit tests with the following command:

$ cd path/to/Symfony/Component/Icu/
$ composer.phar install --dev
$ phpunit