PHPackages                             spomky-labs/php-punycode - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. spomky-labs/php-punycode

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

spomky-labs/php-punycode
========================

A Bootstring encoding of Unicode for Internationalized Domain Names in Applications (IDNA)

v3.0.1(10y ago)0167[1 PRs](https://github.com/Spomky-Labs/php-punycode/pulls)MITPHPPHP &gt;=5.6

Since Mar 10Pushed 7y ago2 watchersCompare

[ Source](https://github.com/Spomky-Labs/php-punycode)[ Packagist](https://packagist.org/packages/spomky-labs/php-punycode)[ Docs](https://github.com/spomky-labs/php-punycode)[ RSS](/packages/spomky-labs-php-punycode/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (10)Used By (0)

Punycode
========

[](#punycode)

[![Build Status](https://camo.githubusercontent.com/6873f473537918c5ef1824db6e25f9a5ee6f2b1ad31058be0c4736c8aa9f646c/68747470733a2f2f7472617669732d63692e6f72672f53706f6d6b792d4c6162732f7068702d70756e79636f64652e737667)](https://travis-ci.org/Spomky-Labs/php-punycode)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/41f078a05d26d9dfeb666235cb8664eac3e6448fabb9d407b113521d3bb3722c/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f53706f6d6b792d4c6162732f7068702d70756e79636f64652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/Spomky-Labs/php-punycode/?branch=master)

[![Coverage Status](https://camo.githubusercontent.com/c36203ef42fd656d71c349b44c151f0de149a77a19fd345b5dcd1194cb675921/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f53706f6d6b792d4c6162732f7068702d70756e79636f64652f62616467652e7376673f6272616e63683d6d617374657226736572766963653d676974687562)](https://coveralls.io/github/Spomky-Labs/php-punycode?branch=master)

[![SensioLabsInsight](https://camo.githubusercontent.com/9265cd92581a0468a4601adfbc71fb9c9423b50476ec4608d61306cb45dbbad9/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f64353961393436332d656436352d343330342d613736342d3034663632643366643538632f6269672e706e67)](https://insight.sensiolabs.com/projects/d59a9463-ed65-4304-a764-04f62d3fd58c)

[![Latest Stable Version](https://camo.githubusercontent.com/3f78bacc233e32a2e0f6e87d36e645d3720a280cf82e0bf5403715b35b34651e/68747470733a2f2f706f7365722e707567782e6f72672f73706f6d6b792d6c6162732f7068702d70756e79636f64652f762f737461626c652e706e67)](https://packagist.org/packages/spomky-labs/php-punycode)[![Total Downloads](https://camo.githubusercontent.com/97cb1f1a40fe0a3f6356188e651d28fbffda4119b763d79a5464150c2b33b4ab/68747470733a2f2f706f7365722e707567782e6f72672f73706f6d6b792d6c6162732f7068702d70756e79636f64652f646f776e6c6f6164732e706e67)](https://packagist.org/packages/spomky-labs/php-punycode)[![Latest Unstable Version](https://camo.githubusercontent.com/00de5b731ba091556ef1f0bdc7529bc6d53ef47ad979ac8c91d12929fa396c9f/68747470733a2f2f706f7365722e707567782e6f72672f73706f6d6b792d6c6162732f7068702d70756e79636f64652f762f756e737461626c652e706e67)](https://packagist.org/packages/spomky-labs/php-punycode)[![License](https://camo.githubusercontent.com/44476cb01eca03620fb82686f3892433d81d16362a312931e8109bf22ad0d879/68747470733a2f2f706f7365722e707567782e6f72672f73706f6d6b792d6c6162732f7068702d70756e79636f64652f6c6963656e73652e706e67)](https://packagist.org/packages/spomky-labs/php-punycode)

A Bootstring encoding of Unicode for Internationalized Domain Names in Applications (IDNA).

Original code from

The Release Process
===================

[](#the-release-process)

The release process [is described here](doc/Release.md).

Prerequisites
=============

[](#prerequisites)

This library needs at least [![PHP 5.4+](https://camo.githubusercontent.com/d99081cd5ddc5e37f8911ad464cb5dc3442d86b2eb940a05bbdeb0a16a3599ae/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d352e342532422d6666363962342e737667)](https://camo.githubusercontent.com/d99081cd5ddc5e37f8911ad464cb5dc3442d86b2eb940a05bbdeb0a16a3599ae/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d352e342532422d6666363962342e737667).

It has been successfully tested using `PHP 5.4` to `PHP 5.6`, `PHP 7` (`7.0` and nightly) and `HHVM`.

Installation
============

[](#installation)

The preferred way to install this library is to rely on Composer:

```
composer require "spomky-labs/php-punycode"
```

How to use
==========

[](#how-to-use)

```
