streams/vendor/sabre/uri
2017-03-16 11:42:06 +11:00
..
lib new composer.lock for red 2017-03-16 11:42:06 +11:00
.gitignore initial sabre upgrade (needs lots of work - to wit: authentication, redo the browser interface, and rework event export/import) 2016-05-10 17:26:44 -07:00
.travis.yml new composer.lock for red 2017-03-16 11:42:06 +11:00
CHANGELOG.md new composer.lock for red 2017-03-16 11:42:06 +11:00
composer.json new composer.lock for red 2017-03-16 11:42:06 +11:00
LICENSE new composer.lock for red 2017-03-16 11:42:06 +11:00
README.md new composer.lock for red 2017-03-16 11:42:06 +11:00

sabre/uri

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

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

The library provides the following functions:

  1. resolve to resolve relative urls.
  2. normalize to aid in comparing urls.
  3. parse, which works like PHP's parse_url.
  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.

Further reading

Questions?

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

Made at fruux

This library is being developed by fruux. Drop us a line for commercial services or enterprise support.