This software class allows for conversion between Punycode and Unicode formats.
Not only that, but PHP Net_IDNA is also available as a PEAR package, as our contribution to the Open Source Community. It's licensed under the LGPL (GNU Lesser General Public License), which allows it to be used in both non-commercial and commercial projects.
Getting started with Net_IDNA is easy - simply include() or require() the source and instantiate the class with $idn = new Net_IDNA(). From there, you have access to two methods: encode() for converting an UTF-8 string to Punycode format and decode() for the opposite direction.
Overall, PHP Net_IDNA is a solid option for those needing an IDNA implementation in PHP. Its ease of use and open-source nature make it a valuable addition to any project.
Version 0.6.3: N/A