2017 © Pedro Peláez
 

library idna-convert

Etechnika.eu idna-convert

image

etechnika/idna-convert

Etechnika.eu idna-convert

  • Thursday, January 28, 2016
  • by rennis23
  • Repository
  • 1 Watchers
  • 13 Stars
  • 216,848 Installations
  • PHP
  • 8 Dependents
  • 0 Suggesters
  • 4 Forks
  • 1 Open issues
  • 9 Versions
  • 7 % Grown

The README.md

Branch Unit Tests Coverage Dependency
Latest Stable Version Build Status Coverage Status Dependency Status

IDNA Convert (idna_convert.class.php) prepared to packagist.

IDNA Convert is a fork of phlyLabs pure PHP IDNA Converter (http://idnaconv.phlymail.de/) It converts internationalized domain names between UTF-8 and ASCII (punycode) notation. Orginal package is in directory lib/phlylabs., (*1)

You should used orginal package mso/idna-convert (https://github.com/phlylabs/idna-convert), (*2)

Installation

Via composer

Add the package to your composer.json file:, (*3)

{
  "require": {
    "etechnika/idna-convert": "1.0.*"
  }
}

Run composer.phar update., (*4)

Usage

The following example describes basic usage., (*5)

<?php

require_once('vendor/autoload.php');
use Etechnika\IdnaConvert\IdnaConvert as IdnaConvert;
IdnaConvert::encodeString( 'żółw.pl' ); // prints 'xn--w-uga1v8h.pl'
IdnaConvert::decodeString( 'xn--w-uga1v8h.pl' ); // prints 'żółw.pl'

?>

The Versions

14/11 2013

0.0.2

0.0.2.0 https://github.com/etechnika/idna-convert

Etechnika.eu idna-convert

  Sources   Download

LGPL-2.1

The Requires

  • php >=5.3.0

 

The Development Requires

lib