symfony/polyfill-intl-idn

Symfony polyfill for intl's idn_to_ascii and idn_to_utf8 functions

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 7 minutes ago
Type:Library / SDKCategory(s):Core & Utility LibrariesLanguages & Runtimes
Added to GitGenius on September 20th, 2026
Created on October 1st, 2018
Open Issues & Pull Requests: 0 (+0)
GitHub issues: Disabled - open counts may still include pull requests.
Number of forks: 8
Total Stargazers: 3,346 (+0)
Total Subscribers: 5 (+0)

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

GitHub issues are disabled for this repository, so issue analytics and the issue explorer are not available.

Detailed Description

Symfony Polyfill / Intl: Idn is a PHP compatibility shim that provides internationalized domain name functions to environments lacking the Intl extension.

The tool solves the problem of code portability across PHP installations with varying extension availability. It provides implementations of the idn_to_ascii and idn_to_utf8 functions, allowing developers to work with internationalized domain names regardless of whether the native Intl extension is installed. When the extension is present, the polyfill defers to the native implementation; when absent, it supplies a fallback.

Projects that need to support a broad range of PHP hosting environments benefit most from this polyfill. It is particularly valuable for libraries and frameworks that must work reliably across different server configurations without requiring users to install additional PHP extensions. Any application handling international domain names or accepting user input that may contain them should consider this component to ensure consistent behavior.

The project receives regular maintenance with updates addressing compatibility across PHP versions and refinements to the polyfill implementations. Work is focused on ensuring the fallback functions behave identically to their native counterparts, with attention paid to edge cases in domain name encoding and decoding.