sabre/dav is an open-source WebDAV server, developed by fruux and built in PHP. It is an implementation of the WebDAV protocol (with extensions for CalDAV[2] and CardDAV), providing a native PHP server implementation which operates on Apache 2 and Nginx web servers.
Features
Provides a complete framework for providing virtual or filesystem-based WebDAV server implementations.