ml/iri
最新稳定版本:1.1.4
Composer 安装命令:
composer require ml/iri
包简介
IRI handling for PHP
README 文档
README
This is a simple PHP class to ease IRI handling. Currently it just supports parsing of IRIs and relative IRI resolution. In the future I will extend it to support validation and normalization and perhaps also support for IRI templates.
With more than 700 tests, this class is extensively unit tested:
Installation
The easiest way to use IRI is to integrate it as a dependency in your project's composer.json file:
{
"require": {
"ml/iri": "1.*"
}
}
Installing is then a matter of running composer
php composer.phar install
... and including Composer's autoloader to your project
require('vendor/autoload.php');
Of course you can also just download an archive from Github.
Credits
Most test cases come either directly from the URI specification, from Graham Klyne's, or Tim Berners-Lee's test suite.
统计信息
- 总下载量: 5.87M
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 27
- 点击次数: 1
- 依赖项目数: 5
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-01-04