How To Install php-sabre-dav on CentOS 7

In this tutorial we learn how to install php-sabre-dav on CentOS 7. php-sabre-dav is WebDAV Framework for PHP

Introduction

In this tutorial we learn how to install php-sabre-dav on CentOS 7.

What is php-sabre-dav

What is SabreDAV SabreDAV allows you to easily add WebDAV support to a PHP application. SabreDAV is meant to cover the entire standard, and attempts to allow integration using an easy to understand API. Feature list * Fully WebDAV compliant * Supports Windows XP, Windows Vista, Mac OS/X, DavFSv2, Cadaver, Netdrive, Open Office, and probably more. * Passing all Litmus tests. * Supporting class 1, 2 and 3 Webdav servers. * Locking support. * Custom property support. * CalDAV (tested with Evolution, iCal, iPhone and Lightning). * CardDAV (tested with OS/X addressbook, the iOS addressbook and Evolution). * Over 97% unittest code coverage.

We can use yum or dnf to install php-sabre-dav on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install php-sabre-dav.

Install php-sabre-dav on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install php-sabre-dav using yum by running the following command:

sudo yum -y install php-sabre-dav

Install php-sabre-dav on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install php-sabre-dav using dnf by running the following command:

sudo dnf -y install php-sabre-dav

How To Uninstall php-sabre-dav on CentOS 7

To uninstall only the php-sabre-dav package we can use the following command:

sudo dnf remove php-sabre-dav

References

Summary

In this tutorial we learn how to install php-sabre-dav on CentOS 7 using yum and dnf.