coraxster / laravel-owncloud
Laravel 5 OwnCloud Filesystem
1.0.1
2017-09-18 11:07 UTC
Requires
- php: ~7.0
- coraxster/flysystem-owncloud: >=1.0
- illuminate/filesystem: ^5.0
This package is auto-updated.
Last update: 2024-12-14 21:13:15 UTC
README
Install
Via Composer
$ composer require coraxster/laravel-owncloud
Usage
Register the service provider in your app.php config file:
// config/app.php 'providers' => [ ... League\Flysystem\OwnCloud\OwnCloudServiceProvider::class ... ];
Create a owncloud filesystem disk:
// config/filesystems.php 'disks' => [ ... 'owncloud' => [ 'driver' => 'owncloud', 'baseUri' => 'webdav.url', 'shareApi' => 'something like...ocs/v1.php/apps/files_sharing/api/v1/shares', 'userName' => 'secret', 'password' => 'secret' ], ... ];