# symfony/polyfill-intl-idn

Symfony polyfill for intl's idn_to_ascii and idn_to_utf8 functions

Repository: https://github.com/symfony/polyfill-intl-idn
Canonical: https://ross.abutalabs.com/products/polyfill-intl-idn
Homepage: https://symfony.com/polyfill-intl-idn
Language: PHP
License: MIT
License Family: permissive
Topics: compatibility, component, idn, intl, javascript, polyfill, portable, shim, symfony, symfony-component, symfony-polyfill
Last push: 2026-08-24T11:45:09+00:00

## Health v2 (maintenance only)
Score: 99/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 99, longevity 100
- inputs: {"age_days": 2893, "days_push": 9, "days_rel": 9, "gap_med": 10, "n_releases_24m": 6}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3347, forks 8 (observed 2026-08-28T04:07:57.649147+00:00)

## What it is
A Symfony polyfill library that provides the idn_to_ascii and idn_to_utf8 PHP functions for environments lacking the Intl extension. It enables internationalized domain name handling in pure PHP.

## Use cases
- convert internationalized domain names to ascii in php
- use idn_to_utf8 without the intl extension
- handle unicode domain names on hosts without pecl intl
- make my php package depend on idn functions portably
- polyfill intl idn functions in legacy php projects

## When to choose
- your PHP runtime lacks the ext-intl extension but you need IDN conversion
- you build portable PHP libraries that must work with or without Intl
- you want a lightweight, MIT-licensed shim maintained by Symfony

## When to avoid
- the Intl extension is already installed on your server
- you need full ICU internationalization beyond IDN functions
- your project is not PHP-based

## Facets
- artifact type: library
- maturity: stable
- function: internationalization, parser, sdk
- domain: web-development, developer-tools
- platform: php, cross-platform
- tags: polyfill, idn, intl, shim, compatibility, symfony-component, punycode, composer, localization

## Member repositories
- symfony/polyfill-intl-idn (main) score 99

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:57.649147+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:41:00.348256+00:00, confidence not recorded.
  - readme: https://github.com/symfony/polyfill-intl-idn (fetched 2026-08-28T04:07:57.649147+00:00, sha 25df08ccce19)
  - homepage: https://symfony.com/polyfill-intl-idn (fetched 2026-08-29T09:34:09.841720+00:00, sha c8968be4a75e)
  - site_page: https://symfony.com/doc (fetched 2026-08-29T09:34:09.844460+00:00, sha 44889134f4fb)
  - site_page: https://symfony.com/releases (fetched 2026-08-29T09:34:09.846761+00:00, sha 2fd410222cfe)
  - site_page: https://symfony.com/blog/category/releases (fetched 2026-08-29T09:34:09.848483+00:00, sha 98212d5a6d55)
- Data as of 2026-08-30T08:39:29.467469+00:00.
