Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 05-Aug-2022 | - | ||||
lib/ | H | 05-Aug-2022 | - | 279 | 153 | |
tests/ | H | 05-Aug-2022 | - | 283 | 190 | |
.travis.yml | H A D | 04-Aug-2022 | 543 | 26 | 21 | |
CHANGELOG.md | H A D | 04-Aug-2022 | 594 | 27 | 18 | |
LICENSE | H A D | 04-Aug-2022 | 1.5 KiB | 28 | 23 | |
README.md | H A D | 04-Aug-2022 | 1.5 KiB | 56 | 38 | |
composer.json | H A D | 04-Aug-2022 | 923 | 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 28Build status 29------------ 30 31| branch | status | 32| ------ | ------ | 33| master | [![Build Status](https://travis-ci.org/fruux/sabre-uri.svg?branch=master)](https://travis-ci.org/fruux/sabre-uri) | 34 35 36Questions? 37---------- 38 39Head over to the [sabre/dav mailinglist][4], or you can also just open a ticket 40on [GitHub][5]. 41 42 43Made at fruux 44------------- 45 46This library is being developed by [fruux](https://fruux.com/). Drop us a line for commercial services or enterprise support. 47 48[1]: http://sabre.io/uri/ 49[2]: https://tools.ietf.org/html/rfc3986/ 50[3]: http://nodejs.org/api/url.html 51[4]: http://groups.google.com/group/sabredav-discuss 52[5]: https://github.com/fruux/sabre-uri/issues/ 53[6]: http://php.net/manual/en/function.parse-url.php 54[7]: http://sabre.io/uri/install/ 55[8]: http://sabre.io/uri/usage/ 56