IDNA Convert is a pure PHP implementation of IDNA, which allows to convert internationalized domain names.
See the documentation to learn, how to work with IDNA Convert.
See the demo page for a live preview of the class.
Go to the downloads page to find out how to acquire it through Composer or GitHub.
Se the about page for more info about the author and contributors.