abdullahhafizh/laravel-owncloud

Laravel 7 OwnCloud Filesystem

Maintainers

Package info

github.com/abdullahhafizh/laravel-owncloud

pkg:composer/abdullahhafizh/laravel-owncloud

Statistics

Installs: 29

Dependents: 0

Suggesters: 0

Stars: 2

Open Issues: 0

1.0.0 2020-11-23 13:57 UTC

This package is auto-updated.

Last update: 2026-02-24 01:56:03 UTC


README

Install

Via Composer

$ composer require abdullahhafizh/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'
    ],
	...
];