Installation
SabreDAV can be installed using composer. We no longer provide releases as zip files.
Requirements
You will need a recent version of PHP. SabreDAV currently requires PHP 5.4
SabreDAV runs on any PHP-capable webserver. For maximum compatibility, apache 2 with mod_php is recommended. This is especially true if you plan to a file server. Card- and CalDAV servers run fine through FastCGI as well.
It's recommended to avoid Lighttpd altogether. See Webservers for more information.
PHP Version requirements:
SabreDAV version | PHP Version | First stable release | End of support |
---|---|---|---|
3.0 | 5.4 | June 2015 | January 2017 |
3.1 | 5.5 | January 2016 | June 2017 |
3.2 | 5.5 | June 2016 |
Installing with composer
If composer is not yet on your system, follow the instructions on getcomposer.org to do so.
To add the sabre/dav dependency to your project, simply run the following command from the root of your project:
composer require sabre/dav ~3.2.0
This rule ensures that you install the latest stable sabre/dav.
After you've done this, you later on upgrade sabredav with the following command:
composer update sabre/dav
The autoloader is in vendor/autoload.php
.
Source
The sabre/dav source can be found on GitHub.
Next Steps
Head over to Getting Started to see what's next.