Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/abdullahhafizh/laravel-owncloud
https://github.com/abdullahhafizh/laravel-owncloud
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/abdullahhafizh/laravel-owncloud
- Owner: abdullahhafizh
- Created: 2020-11-23T13:54:28.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2020-11-23T13:59:59.000Z (almost 4 years ago)
- Last Synced: 2024-05-20T23:58:17.827Z (6 months ago)
- Language: PHP
- Size: 1000 Bytes
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# laravel-owncloud
## Install
Via Composer
``` bash
$ composer require abdullahhafizh/laravel-owncloud
```## Usage
Register the service provider in your app.php config file:
``` php
// config/app.php'providers' => [
...
League\Flysystem\OwnCloud\OwnCloudServiceProvider::class
...
];
```Create a owncloud filesystem disk:
``` php
// 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'
],
...
];
```