mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-21 19:35:24 +00:00
745515b11f
We use composer already to install SabreDAV. Include config composer.(json|lock) to install and manage more dependencies in future. Also provide PSR-4 autoloading for our namespaced classes, e.g. "Zotlabs\". To regenerate autoloader maps use: $ composer install --optimize-autoloader --no-dev We could also remove the whole vendor/ folder from our repository, but that would need changes in deployment and how to install hubs and needs more discussion first. |
||
---|---|---|
.. | ||
lib | ||
.gitignore | ||
.travis.yml | ||
CHANGELOG.md | ||
composer.json | ||
LICENSE | ||
README.md |
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:
resolve
to resolve relative urls.normalize
to aid in comparing urls.parse
, which works like PHP's parse_url.build
to do the exact opposite ofparse
.split
to easily get the 'dirname' and 'basename' of a URL without all the problems those two functions have.
Further reading
Build status
branch | status |
---|---|
master |
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.