Install Composer


Update Composer

Install SabreDAV

composer require sabre/dav ~3.0.0
composer update sabre/dav

After installation, you will see

./composer.json has been created
Loading composer repositories with package information
Updating dependencies (including require-dev)
- Installing sabre/event (2.0.1)
Loading from cache

- Installing sabre/http (3.0.4)
Loading from cache

- Installing sabre/vobject (3.4.2)
Loading from cache

- Installing sabre/dav (2.1.3)
Loading from cache

Writing lock file
Generating autoload files

Create .htaccess File

RewriteEngine On
# This makes every request go to server.php
RewriteRule (.*) YOUR_OWN_ENTRY.php [L]

# Output buffering needs to be off, to prevent high memory usage
php_flag output_buffering off

# This is also to prevent high memory usage
php_flag always_populate_raw_post_data off

# This is almost a given, but magic quotes is *still* on on some
# linux distributions
php_flag magic_quotes_gpc off

# SabreDAV is not compatible with mbstring function overloading
php_flag mbstring.func_overload off


 Add Other Sabre Library

You can use the composer.phar command to add requirement

composer.phar require sabre/vobject "~3.3"

Also, you can edit the composer.json in your virualhost folder, and add the require nodes like this

    "require": {
        "sabre/dav": "~2.1.1",
        "sabre/vobject": "~3.3"