2017 © Pedro Peláez
 

library uri

Functions for making sense out of URIs.

image

sabre/uri

Functions for making sense out of URIs.

  • Thursday, May 10, 2018
  • by dominik
  • Repository
  • 16 Watchers
  • 172 Stars
  • 1,994,193 Installations
  • PHP
  • 34 Dependents
  • 0 Suggesters
  • 12 Forks
  • 4 Open issues
  • 17 Versions
  • 13 % Grown

The README.md

sabre/uri

sabre/uri is a lightweight library that provides several functions for working with URIs, staying true to the rules of RFC3986., (*1)

Partially inspired by Node.js URL library, and created to solve real problems in PHP applications. 100% unit tested and many tests are based on examples from RFC3986., (*2)

The library provides the following functions:, (*3)

  1. resolve to resolve relative urls.
  2. normalize to aid in comparing urls.
  3. parse, which works like PHP's parse_url with special cases for some Windows-style paths [9].
  4. build to do the exact opposite of parse.
  5. split to easily get the 'dirname' and 'basename' of a URL without all the problems those two functions have.

Build status

Build Status, (*4)

release minimum PHP version
master PHP 7.4
3.0 PHP 7.4
2.3 PHP 7.4
2.2 PHP 7.1
2.0,2.1 PHP 7.0
1.x PHP 5.4.7

Further reading

Questions?

Head over to the sabre/dav mailinglist, or you can also just open a ticket on GitHub., (*5)

Made at fruux

This library is being developed by fruux. Drop us a line for commercial services or enterprise support., (*6)

The Versions

10/05 2018

dev-master

9999999-dev http://sabre.io/uri/

Functions for making sense out of URIs.

  Sources   Download

BSD-3-Clause

The Requires

  • php >=7

 

The Development Requires

url uri rfc3986

06/01 2018

dev-staabm-patch-1

dev-staabm-patch-1 http://sabre.io/uri/

Functions for making sense out of URIs.

  Sources   Download

BSD-3-Clause

The Requires

  • php >=7

 

The Development Requires

url uri rfc3986

20/02 2017

2.1.1

2.1.1.0 http://sabre.io/uri/

Functions for making sense out of URIs.

  Sources   Download

BSD-3-Clause

The Requires

  • php >=7

 

The Development Requires

url uri rfc3986

20/02 2017

1.x-dev

1.9999999.9999999.9999999-dev http://sabre.io/uri/

Functions for making sense out of URIs.

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.4.7

 

The Development Requires

url uri rfc3986

20/02 2017

1.2.1

1.2.1.0 http://sabre.io/uri/

Functions for making sense out of URIs.

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.4.7

 

The Development Requires

url uri rfc3986

07/12 2016

2.1.0

2.1.0.0 http://sabre.io/uri/

Functions for making sense out of URIs.

  Sources   Download

BSD-3-Clause

The Requires

  • php >=7

 

The Development Requires

url uri rfc3986

07/12 2016

1.2.0

1.2.0.0 http://sabre.io/uri/

Functions for making sense out of URIs.

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.4.7

 

The Development Requires

url uri rfc3986

27/10 2016

1.1.1

1.1.1.0 http://sabre.io/uri/

Functions for making sense out of URIs.

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.4.7

 

The Development Requires

url uri rfc3986

27/10 2016

2.0.1

2.0.1.0 http://sabre.io/uri/

Functions for making sense out of URIs.

  Sources   Download

BSD-3-Clause

The Requires

  • php >=7

 

The Development Requires

url uri rfc3986

23/10 2016

dev-punycode

dev-punycode http://sabre.io/uri/

Functions for making sense out of URIs.

  Sources   Download

BSD-3-Clause

The Requires

  • php >=7

 

The Development Requires

url uri rfc3986

07/10 2016

2.0.0

2.0.0.0 http://sabre.io/uri/

Functions for making sense out of URIs.

  Sources   Download

BSD-3-Clause

The Requires

  • php >=7

 

The Development Requires

url uri rfc3986

08/03 2016

1.1.0

1.1.0.0 http://sabre.io/uri/

Functions for making sense out of URIs.

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.4.7

 

The Development Requires

url uri rfc3986

29/04 2015

1.0.1

1.0.1.0 http://sabre.io/uri/

Functions for making sense out of URIs.

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.4.7

 

The Development Requires

url uri rfc3986

29/04 2015

dev-cs-fixer

dev-cs-fixer http://sabre.io/uri/

Functions for making sense out of URIs.

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.4.7

 

The Development Requires

url uri rfc3986

27/01 2015

1.0.0

1.0.0.0 http://sabre.io/uri/

Functions for making sense out of URIs.

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.4.7

 

The Development Requires

url uri rfc3986

27/01 2015

dev-normalize

dev-normalize http://sabre.io/uri/

Functions that help with uris.

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.4.7

 

The Development Requires

url uri rfc3986

18/11 2014

0.0.1

0.0.1.0 http://sabre.io/uri/

Functions that help with uris.

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.4.7

 

The Development Requires

uri