| Server IP : 213.186.33.4 / Your IP : 216.73.216.193 Web Server : Apache System : Linux webm006.cluster103.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : awebpaca ( 35430) PHP Version : 8.5.0 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/a/w/e/awebpaca/Dolibarr/htdocs/includes/sabre/sabre/uri/ |
Upload File : |
sabre/uri ========= sabre/uri is a lightweight library that provides several functions for working with URIs, staying true to the rules of [RFC3986][2]. Partially inspired by [Node.js URL library][3], 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][6]. 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 --------------- * [Installation][7] * [Usage][8] Build status ------------ | branch | status | | ------ | ------ | | master | [](https://travis-ci.org/fruux/sabre-uri) | Questions? ---------- Head over to the [sabre/dav mailinglist][4], or you can also just open a ticket on [GitHub][5]. Made at fruux ------------- This library is being developed by [fruux](https://fruux.com/). Drop us a line for commercial services or enterprise support. [1]: http://sabre.io/uri/ [2]: https://tools.ietf.org/html/rfc3986/ [3]: http://nodejs.org/api/url.html [4]: http://groups.google.com/group/sabredav-discuss [5]: https://github.com/fruux/sabre-uri/issues/ [6]: http://php.net/manual/en/function.parse-url.php [7]: http://sabre.io/uri/install/ [8]: http://sabre.io/uri/usage/