2017 © Pedro Peláez
 

library iri

IRI handling for PHP

image

ml/iri

IRI handling for PHP

  • Sunday, January 3, 2016
  • by markus
  • Repository
  • 6 Watchers
  • 13 Stars
  • 145,613 Installations
  • PHP
  • 4 Dependents
  • 0 Suggesters
  • 2 Forks
  • 2 Open issues
  • 8 Versions
  • 6 % Grown

The README.md

IRI

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., (*1)

With more than 700 tests, this class is extensively unit tested: Build Status Code Coverage, (*2)

Installation

The easiest way to use IRI is to integrate it as a dependency in your project's composer.json file:, (*3)

{
    "require": {
        "ml/iri": "1.*"
    }
}

Installing is then a matter of running composer, (*4)

php composer.phar install

... and including Composer's autoloader to your project, (*5)

require('vendor/autoload.php');

Of course you can also just download an archive from Github., (*6)

Credits

Most test cases come either directly from the URI specification, from Graham Klyne's, or Tim Berners-Lee's test suite., (*7)

The Versions

03/01 2016

dev-master

9999999-dev http://www.markus-lanthaler.com

IRI handling for PHP

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • lib-pcre >=4.0

 

url uri iri urn

03/01 2016

dev-psr7

dev-psr7 http://www.markus-lanthaler.com

IRI handling for PHP (PSR7-compliant)

  Sources   Download

MIT

The Requires

 

psr-7 url psr7 uri iri urn

21/01 2014

1.1.4

1.1.4.0 http://www.markus-lanthaler.com

IRI handling for PHP

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • lib-pcre >=4.0

 

url uri iri urn

30/09 2013

1.1.3

1.1.3.0 http://www.markus-lanthaler.com

IRI handling for PHP

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • lib-pcre >=8.0

 

url uri iri urn

04/02 2013

1.1.2

1.1.2.0 http://www.markus-lanthaler.com

IRI handling for PHP

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

url uri iri urn

14/01 2013

1.1.1

1.1.1.0 http://www.markus-lanthaler.com

IRI handling for PHP

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

url uri iri urn

14/01 2013

1.1.0

1.1.0.0 http://www.markus-lanthaler.com

IRI handling for PHP

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

url uri iri urn

07/09 2012

1.0.0

1.0.0.0 http://www.markus-lanthaler.com

IRI handling for PHP

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

url uri iri urn