Skip to content

Installation

Install the package with Composer:

Terminal window
composer require bambamboole/laravel-dav

The service provider is auto-discovered. Package migrations are loaded automatically, so run your application migrations to create the DAV tables:

Terminal window
php artisan migrate
  • PHP ^8.3
  • Laravel ^12 or ^13
  • sabre/dav ^4.7

Publishing is optional. Publish the config file when you need to customize the owner model, route prefix, enabled protocols, Basic auth realm, scheduling mailer, or model classes:

Terminal window
php artisan vendor:publish --tag=dav-config

Publish migrations only when you want to customize the schema before the first migration run:

Terminal window
php artisan vendor:publish --tag=dav-migrations

DAV traffic is served under the configured route prefix:

https://your-app.test/dav/

The well-known URLs redirect into that endpoint:

/.well-known/caldav -> /dav/
/.well-known/carddav -> /dav/