Download the PHP package n3xt0r/laravel-webdav-server without Composer
On this page you can find all versions of the php package n3xt0r/laravel-webdav-server. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download n3xt0r/laravel-webdav-server
More information about n3xt0r/laravel-webdav-server
Files in n3xt0r/laravel-webdav-server
Package laravel-webdav-server
Short Description A WebDAV server implementation for Laravel based on SabreDAV, with support for Laravel filesystem disks.
License MIT
Homepage https://github.com/n3xt0r/laravel-webdav-server
Informations about the package laravel-webdav-server
Laravel WebDAV Server (SabreDAV + Flysystem)
A WebDAV server package for Laravel powered by SabreDAV and Laravel Flysystem.
It exposes Laravel storage disks through /webdav/{space}/{path?} and maps each request to a configured storage space
with a user-scoped root path.
Documentation
The full documentation is available on Read the Docs:
👉 https://laravel-webdav-server.readthedocs.io/en/stable/
The same documentation is also available in this repository:
👉 docs/
Read the Docs provides a structured and navigable version of the same content.
Useful entry points:
- Getting Started
- Configuration
- Path Resolution
- Events
- Server Customization
- Authentication & Authorization
- Architecture
- Commands
- Common Questions
The Problem
- Laravel does not provide a native WebDAV server.
- Many existing packages provide WebDAV clients, for example for Flysystem, but not a server.
- Thin SabreDAV integrations often behave like black boxes inside Laravel.
- Request flow, authentication, storage resolution, and routing are often difficult to inspect or influence.
- Customization often requires replacing large parts of the integration.
- Debugging is difficult because many WebDAV clients return generic errors or no useful diagnostics.
- Client behavior differs noticeably between Windows Explorer, macOS Finder, and WinSCP.
- Windows WebClient is especially strict about
OPTIONS,PROPFIND, and response correctness.
This package integrates WebDAV cleanly into a modern Laravel architecture.
What This Package Provides
- a WebDAV server for Laravel
- an explicit request pipeline
- Laravel Flysystem integration for storage
- Laravel Gate / policy-based authorization by default
- structured storage mapping through
spaces - defined contracts and extension points instead of a black-box runtime
WebDavPathFacade for resolving WebDAV mount URLs and user storage paths from controllers, views, and jobs — without triggering the WebDAV pipeline- Laravel events for WebDAV mutations such as file and directory create, update, and delete
- events are dispatched after successful operations, so applications can integrate cleanly without internal overrides or hooks
- logging for authentication, routing, storage resolution, and server behavior
- WebDAV behavior compatible with common clients, including Windows WebClient
Quickstart
Default endpoint:
Seeded workbench credentials:
Quick verification:
For full setup and configuration details, use the documentation links above.
Installation
The package service provider is N3XT0R\LaravelWebdavServer\WebdavServerServiceProvider.
Core Concepts
- Route shape:
/webdav/{space}/{path?} - Authentication: HTTP Basic Auth
- Storage mapping: configured
spaces - Authorization:
PathAuthorizationInterface, backed by Laravel Gate / policies by default
See Read the Docs for the complete request flow, configuration reference, and extension model.
WebDavPath Facade
Resolve WebDAV connection details for users without going through the WebDAV pipeline:
See Path Resolution for the full reference.
Compatibility Notes
- The package implements WebDAV behavior compatible with common clients, including Windows WebClient.
- Windows WebClient depends on correct
OPTIONShandling, validPROPFINDresponses, valid207 Multi-Statusresponses, root collection handling, andMS-Author-Via: DAV. - Prefer
https://, especially for Windows clients. - Client-side constraints such as system configuration, local policy, and
http://versushttps://still apply.
Developer Commands
License
MIT License
All versions of laravel-webdav-server with dependencies
illuminate/contracts Version ^12.0|^13.0
sabre/dav Version ~4.7.0
spatie/laravel-package-tools Version ^1.16