2017 © Pedro PelĂĄez
 

library punycode

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

image

true/punycode

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

  • Wednesday, November 16, 2016
  • by Ceeram
  • Repository
  • 25 Watchers
  • 154 Stars
  • 1,887,134 Installations
  • PHP
  • 46 Dependents
  • 2 Suggesters
  • 27 Forks
  • 4 Open issues
  • 10 Versions
  • 15 % Grown

The README.md

Punycode

Build Status Scrutinizer Code Quality Code Coverage Latest Stable Version, (*1)

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

Install

composer require true/punycode:~2.0

Usage

<?php

// Import Punycode
use TrueBV\Punycode;

$Punycode = new Punycode();
var_dump($Punycode->encode('renangonçalves.com'));
// outputs: xn--renangonalves-pgb.com

var_dump($Punycode->decode('xn--renangonalves-pgb.com'));
// outputs: renangonçalves.com

FAQ

1. What is this library for?

This library converts a Unicode encoded domain name to a IDNA ASCII form and vice-versa., (*3)

2. Why should I use this instead of PHP's IDN Functions?

If you can compile the needed dependencies (intl, libidn) there is not much difference. But if you want to write portable code between hosts (including Windows and Mac OS), or can't install PECL extensions, this is the right library for you., (*4)

The Versions

16/11 2016

dev-master

9999999-dev https://github.com/true/php-punycode

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

  Sources   Download

MIT

The Requires

 

The Development Requires

by Renan Gonçalves

idna punycode

16/11 2016

v2.1.1

2.1.1.0 https://github.com/true/php-punycode

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

  Sources   Download

MIT

The Requires

 

The Development Requires

by Renan Gonçalves

idna punycode

09/08 2016

v2.1.0

2.1.0.0 https://github.com/true/php-punycode

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

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-mbstring *

 

The Development Requires

by Renan Gonçalves

idna punycode

23/05 2016

v2.0.3

2.0.3.0 https://github.com/true/php-punycode

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

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-mbstring *

 

The Development Requires

by Renan Gonçalves

idna punycode

07/01 2016

v2.0.2

2.0.2.0 https://github.com/true/php-punycode

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

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-mbstring *

 

The Development Requires

by Renan Gonçalves

idna punycode

01/09 2015

v2.0.1

2.0.1.0 https://github.com/true/php-punycode

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

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-mbstring *

 

The Development Requires

by Renan Gonçalves

idna punycode

24/06 2015

2.0.0

2.0.0.0 https://github.com/true/php-punycode

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

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-mbstring *

 

The Development Requires

by Renan Gonçalves

idna punycode

12/03 2015

1.1.0

1.1.0.0 https://github.com/true/php-punycode

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

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-mbstring *

 

The Development Requires

by Renan Gonçalves

idna punycode

26/08 2014

1.0.1

1.0.1.0 https://github.com/true/php-punycode

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

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-mbstring *

 

The Development Requires

by Renan Gonçalves

idna punycode

10/03 2014

1.0.0

1.0.0.0 https://github.com/true/php-punycode

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

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-mbstring *

 

The Development Requires

by Renan Gonçalves

idna punycode