Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2018 | - | ||||
lib/ | H | 03-May-2018 | - | 412 | 221 | |
tests/ | H | 03-May-2018 | - | 498 | 376 | |
.travis.yml | H A D | 20-Feb-2017 | 214 | 15 | 11 | |
CHANGELOG.md | H A D | 20-Feb-2017 | 1.4 KiB | 58 | 37 | |
LICENSE | H A D | 20-Feb-2017 | 1.5 KiB | 28 | 23 | |
README.md | H A D | 20-Feb-2017 | 1.3 KiB | 48 | 33 | |
composer.json | H A D | 20-Feb-2017 | 932 | 42 | 41 |
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