Looking to hire Laravel developers? Try LaraJobs
This package is not available.

laravel-nextcloud-driver maintained by nextgen-tech

Description
Laravel Nextcloud Filesystem Driver
Authors
Jakub Jedlikowski - Krzysztof Granania
Last update
2021/10/15 15:13 (dev-master)
License
Links
Downloads
50

Comments
comments powered by Disqus

Laravel Nextcloud Filesystem Driver

Based on pbmedia/laravel-webdav, fork of jedlikowski/laravel-nextcloud.

Installation

composer require nextgen-tech/laravel-nextcloud-driver

Usage

Create a Nextcloud filesystem disk:

// config/filesystems.php

'disks' => [
    ...
    'nextcloud' => [
        'driver'   => 'nextcloud',
        'url'      => env('NEXTCLOUD_URL', ''),
        'user'     => env('NEXTCLOUD_USER', ''),
        'password' => env('NEXTCLOUD_PASSWORD'),
        'proxy'    => env('NEXTCLOUD_PROXY'),
        'encoding' => env('NEXTCLOUD_ENCODING'),
    ],
    ...
];

Add variables to .env file:

NEXTCLOUD_URL=
NEXTCLOUD_USER=
NEXTCLOUD_PASSWORD=
NEXTCLOUD_PROXY=
NEXTCLOUD_ENCODING=