Skip to content

Sync Tokens

WebDAV sync lets clients ask for changes since a previous token instead of refetching an entire collection.

Laravel DAV records collection mutations and advances the collection sync token when resources are created, updated, or deleted.

The package emits Bambamboole\LaravelDav\Events\DavCollectionChanged for collection mutations. The event includes:

PropertyDescription
$ownerIdOwner identifier.
$typecalendar or addressbook.
$collectionIdCollection primary key.
$resourceUriAffected object URI, or null for collection-level changes.
$operationcreated, updated, or deleted.
$syncTokenNew collection sync token.

Clients use these tokens through RFC 6578 sync reports.