rowbot/idna
rowbot/idna provides IDNA 2008 and UTS #46 processing for PHP: convert internationalized domain names to ASCII (Punycode) and back, with validation and normalization for safe, spec-compliant handling of Unicode domains.
rowbot/idna is a PHP implementation of IDNA 2008 and UTS #46 (Unicode IDNA Compatibility Processing) for converting internationalized domain names between Unicode and ASCII (Punycode). It handles the full mapping, normalization, and validation pipeline, making it easy to safely process domains containing non-ASCII characters. Usage is straightforward: call Idna::toAscii() or Idna::toUnicode() on a domain to convert it.
How can I help you explore Laravel packages today?