xylis / laravel-nextcloud
Laravel 5 NextCloud 文件系统
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-09-09 22:13:23 UTC
README
基于 https://github.com/pascalbaljetmedia/laravel-webdav
安装
通过 Composer
$ composer require jedlikowski/laravel-nextcloud
使用方法
在 app.php 配置文件中注册服务提供者
// config/app.php 'providers' => [ ... Jedlikowski\NextCloudStorage\NextCloudServiceProvider::class ... ];
创建一个 NextCloud 文件系统磁盘
// 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 ], ... ];
安全性
如果您发现任何安全相关的问题,请发送电子邮件到 jakub.jedlikowski@gmail.com,而不是使用问题跟踪器。
致谢
许可证
MIT 许可证(MIT)。请参阅许可证文件获取更多信息。