Skip to content

Latest commit

 

History

History
54 lines (39 loc) · 1.46 KB

polyfill_intl_icu.rst

File metadata and controls

54 lines (39 loc) · 1.46 KB
.. index::
    single: Polyfill
    single: ICU
    single: Components; Polyfill

The Symfony Polyfill / Intl ICU Component

This component provides a native PHP implementation of several Intl functions and classes to users who run PHP versions without the intl extension.

Installation

$ composer require symfony/polyfill-intl-icu

Usage

Once this component is installed in your application, you can use the following classes and functions, no matter if the PHP intl extension is installed or not in your server.

Provided Classes

Provided Functions

.. seealso::

    Symfony provides more polyfills for other classes and functions related to
    the Intl PHP extension:
    :doc:`polyfill-intl-grapheme </components/polyfill_intl_grapheme>`,
    :doc:`polyfill-intl-idn </components/polyfill_intl_idn>`,
    :doc:`polyfill-intl-messageformatter </components/polyfill_intl_messageformatter>`,
    and :doc:`polyfill-intl-normalizer </components/polyfill_intl_normalizer>`.