PHP Classes

File: composer.json

Recommend this page to a friend!
  Classes of Matthias Sommerfeld   IDNA Convert   composer.json   Download  
File: composer.json
Role: Auxiliary data
Content type: text/plain
Description: Import from GitHub
Class: IDNA Convert
Convert from and to IDNA Punycode domain names
Author: By
Last change: Version 4.0 (#37)

* Support for PHP 7 is dropped
* Minimum supported version is PHP 8.1 (currently still actively supported by the PHP team)
* The lib now behaves closer to the RFCs, fixing some 20-year-old issues
* A new option is available to enforce a strict subset of characters as per RFCs (useStd3AsciiRules)
* Some newer PHP language features are used, replacing older constructs
* Much refactoring has happened to have cleaner code overall
* Many more test cases were added to the integration tests, guarding the changes made
* Please consult UPGRADING.md for details about backwards incompatible changes

Co-authored-by: Elan Ruusamäe <glen@pld-linux.org>
Date: 1 year ago
Size: 1,031 bytes
 

Contents

Class file image Download
{ "name": "algo26-matthias/idna-convert", "description": "A library for encoding and decoding internationalized domain names", "license": "LGPL-2.1+", "keywords": ["PHP","IDN","IDNA"], "homepage": "http://idnaconv.net/", "authors": [ { "name": "Matthias Sommerfeld", "email": "matthias.sommerfeld@algo26.de", "role": "Developer" } ], "require": { "ext-pcre": "*", "php": ">=8.1", "jakeasmith/http_build_url": "^1" }, "require-dev": { "phpunit/phpunit": "^9 || ^10" }, "suggest": { "ext-mbstring": "Install ext/mbstring for using input / output other than UTF-8 or ISO-8859-1", "ext-iconv": "Install ext/iconv for using input / output other than UTF-8 or ISO-8859-1" }, "autoload": { "psr-4": { "Algo26\\IdnaConvert\\": "src/" } }, "autoload-dev": { "psr-4": { "Algo26\\IdnaConvert\\Test\\": "tests/" } } }