• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..12-Jan-2021-

lib/H12-Jan-2021-412221

CHANGELOG.mdH A D11-Jan-20211.4 KiB5837

LICENSEH A D11-Jan-20211.5 KiB2823

README.mdH A D11-Jan-20211.3 KiB4833

composer.jsonH A D11-Jan-2021932 4241

README.md

1sabre/uri
2=========
3
4sabre/uri is a lightweight library that provides several functions for working
5with URIs, staying true to the rules of [RFC3986][2].
6
7Partially inspired by [Node.js URL library][3], and created to solve real
8problems in PHP applications. 100% unitested and many tests are based on
9examples from RFC3986.
10
11The library provides the following functions:
12
131. `resolve` to resolve relative urls.
142. `normalize` to aid in comparing urls.
153. `parse`, which works like PHP's [parse_url][6].
164. `build` to do the exact opposite of `parse`.
175. `split` to easily get the 'dirname' and 'basename' of a URL without all the
18   problems those two functions have.
19
20
21Further reading
22---------------
23
24* [Installation][7]
25* [Usage][8]
26
27
28Questions?
29----------
30
31Head over to the [sabre/dav mailinglist][4], or you can also just open a ticket
32on [GitHub][5].
33
34
35Made at fruux
36-------------
37
38This library is being developed by [fruux](https://fruux.com/). Drop us a line for commercial services or enterprise support.
39
40[1]: http://sabre.io/uri/
41[2]: https://tools.ietf.org/html/rfc3986/
42[3]: http://nodejs.org/api/url.html
43[4]: http://groups.google.com/group/sabredav-discuss
44[5]: https://github.com/fruux/sabre-uri/issues/
45[6]: http://php.net/manual/en/function.parse-url.php
46[7]: http://sabre.io/uri/install/
47[8]: http://sabre.io/uri/usage/
48