0
|
1 # Net_IDNA2 - Punycode encoding and decoding
|
|
2
|
|
3 [![Build Status](https://travis-ci.org/pear/Net_IDNA2.svg?branch=trunk)](https://travis-ci.org/pear/Net_IDNA2)
|
|
4
|
|
5
|
|
6 This package helps you to encode and decode punycode strings easily.
|
|
7
|
|
8 [Homepage](http://pear.php.net/package/XML_Util/)
|
|
9
|
|
10
|
|
11 ## Installation
|
|
12 For a PEAR installation that downloads from the PEAR channel:
|
|
13
|
|
14 `$ pear install pear/net_idna2`
|
|
15
|
|
16 For a PEAR installation from a previously downloaded tarball:
|
|
17
|
|
18 `$ pear install Net_IDNA2-*.tgz`
|
|
19
|
|
20 For a PEAR installation from a code clone:
|
|
21
|
|
22 `$ pear install package.xml`
|
|
23
|
|
24 For a local composer installation:
|
|
25
|
|
26 `$ composer install`
|
|
27
|
|
28 To add as a dependency to your composer-managed application:
|
|
29
|
|
30 `$composer require pear/net_idna2`
|
|
31
|
|
32
|
|
33 ## Tests
|
|
34 Run the tests from a local composer installation:
|
|
35
|
|
36 `$ ./vendor/bin/phpunit`
|
|
37
|
|
38
|
|
39 ## License
|
|
40 LGPL license
|