PHP code example of coraxster / laravel-owncloud
1. Go to this page and download the library: Download coraxster/laravel-owncloud library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
coraxster / laravel-owncloud example snippets
php
// config/app.php
'providers' => [
...
League\Flysystem\OwnCloud\OwnCloudServiceProvider::class
...
];
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'
],
...
];