SabreDAV 0.6

I just finished up a new release of SabreDAV. The mailing list is getting some traction, and it’s shows! There were quite a bit of suggestions and patches recently, so the changelog is relatively big. The best thing that can happen is of course people liking and using it, and it makes me also more excited to work on it :).

Download it here.

Most notable changes

  • Added: We’re now using streams for passing contents of files around everywhere. Not only is this a big speed improvement, but it also reduces memory consumption quite a bit for larger files. It should be noted that this breaks API compatibility as the ->put and ->createFile methods will now no longer receive strings.
  • Added: HTTP Digest authentication helper.
  • Added: Support for HTTP Range header, ETags and overriding default Content-Type.
  • Added: 49 unittests.
  • Updated: Using Clark notation for serializing custom properties. If you use custom properties this affects you, because properties are no longer serialized as http://namespace#tagName, but {http://namespace}tagName.
  • Removed: SabreDAV is no longer distributed as a pear package. The main reason for this is that I had too much trouble figuring out how it works. I use phing as my build-tool, and although there’s some good integration points with pear packaging, I couldn’t get it to do what I wanted. So now it’s a regular gzip tarball.
  • Bugfixes!

Full Changelog.

Special thanks to Andreas Gohr, Luidnel Maignan and Stephan Wenz for patches and suggestions.

Web mentions


  • toupeira


    Thanks for your work, SabreDAV is amazing! We're currently rewriting our free online storage service ( with WebDAV support, and after messing around with that old HTTP_WebDAV_Server class on PEAR (with pretty disappointing results), I've stumbled on your project and was able to implement an almost-Class-2 server (without properties) in a few days! The biggest satisfaction is that it actually works on Windows ;)
  • Evert


    That's great news toupeira! I'm definitely going to have a look at mydrive. The best reward for me is people liking and using it :)

    Thanks so much!

  • Evert


    I couldn't actually find webdav support on your site, but I'm guessing it's still under development:)
  • toupeira


    Yes, we'll probably do a closed beta soon, I'll notify you as soon as it's ready ;)