xylis / laravel-nextcloud
Laravel 5 NextCloud Filesystem
1.0.0
2020-09-16 11:38 UTC
Requires
- php: ~5.6|^7.0
- illuminate/filesystem: 5.0.* || 5.1.* || 5.2.* || 5.3.* || 5.4.* || 5.5.* || 5.6.* || 5.7.* || 5.8.*
- jakeasmith/http_build_url: ^1
- league/flysystem-webdav: ^1.0.8
Requires (Dev)
- orchestra/testbench: ^3.0
- phpunit/phpunit: ~5.0|~6.0|~7.0|~8.0
This package is auto-updated.
Last update: 2024-11-09 22:31:51 UTC
README
Based on https://github.com/pascalbaljetmedia/laravel-webdav
Install
Via Composer
$ composer require jedlikowski/laravel-nextcloud
Usage
Register the service provider in your app.php config file:
// config/app.php 'providers' => [ ... Jedlikowski\NextCloudStorage\NextCloudServiceProvider::class ... ];
Create a NextCloud filesystem disk:
// config/filesystems.php 'disks' => [ ... 'nextcloud' => [ 'driver' => 'nextcloud', 'baseUri' => 'https://mywebdavstorage.com', 'userName' => 'johndoe', 'password' => 'secret', 'pathPrefix' => '', // provide a subfolder name if your NextCloud instance isn't running directly on a domain, e.g. https://example.com/drive ], ... ];
Security
If you discover any security related issues, please email jakub.jedlikowski@gmail.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.