sabre/dav
sabre/dav is a popular PHP framework for building WebDAV, CalDAV, and CardDAV servers. It provides the core server stack plus extensions for calendars and contacts, with full documentation and installation guides at sabre.io.
Architecture fit: Modular, event-driven design aligns with Laravel's service container and middleware patterns. Uses well-defined interfaces (e.g., BackendInterface, INode) for storage abstraction, enabling seamless integration with Laravel's filesystem or database layers. Event system allows hooking into lifecycle hooks (e.g., beforeMethod:*) for custom logic without modifying core code.
Integration feasibility: Straightforward Composer installation. Requires creating a dedicated controller to instantiate the DAV server and route /dav/* requests. Minor adjustments needed for HTTP request handling (e.g., mapping Laravel's Request to sabre/http's Request), but no fundamental conflicts. Existing Laravel auth can be wrapped via custom Auth plugin.
Technical risk: Steep learning curve for DAV protocol nuances (RFC 4918/6352/4791) may slow initial development. Potential request-handling conflicts if Laravel middleware interferes with DAV-specific headers (e.g., Depth, If-Match). Dependents count of 0 is misleading—active GitHub
How can I help you explore Laravel packages today?