Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 1.18 KB

polyfill_intl_idn.rst

File metadata and controls

43 lines (30 loc) · 1.18 KB
.. index::
    single: Polyfill
    single: IDN
    single: Components; Polyfill

The Symfony Polyfill / Intl IDN Component

This component provides a collection of functions related to IDN when the Intl extension is not installed.

Installation

$ composer require symfony/polyfill-intl-idn

Usage

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

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-icu </components/polyfill_intl_icu>`,
    :doc:`polyfill-intl-messageformatter </components/polyfill_intl_messageformatter>`,
    and :doc:`polyfill-intl-normalizer </components/polyfill_intl_normalizer>`.