pbmedia/laravel-webdav

Laravel 5 WebDAV Filesystem

1.6.0 2019-09-06 15:30 UTC

README

Latest Version on Packagist Software License Total Downloads

This package provides a WebDAV driver for Laravel's Filesystem. Laravel 5.0 and higher supported.

We are looking for beta testers!

We are currently building a sophisticated health checker for your Laravel applications called Upserver.online. We will launch a private beta in the coming weeks so please join the mailing list to get early access! If you want to know more, you can also read the official announcement or follow us on Twitter.

Install

Via Composer

$ composer require pbmedia/laravel-webdav

Usage

Register the service provider in your app.php config file (Laravel 5.4 and lower only):

// config/app.php

'providers' => [
    ...
    Pbmedia\FilesystemProviders\WebDAVServiceProvider::class
    ...
];

Create a webdav filesystem disk:

// config/filesystems.php

'disks' => [
	...
	'webdav' => [
	    'driver'     => 'webdav',
	    'baseUri'    => 'https://mywebdavstorage.com',
	    'userName'   => 'protonemedia',
	    'password'   => 'supersecretpassword',
	    'pathPrefix' => 'backups', // optional
	],
	...
];

Change log

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING and CONDUCT for details.

Security

If you discover any security related issues, please email info@protone.media instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.