nextgen-tech / laravel-nextcloud-driver
Laravel Nextcloud Filesystem Driver
v1.0.0
2021-10-15 13:13 UTC
Requires
- php: ^7.4|8.0.*
- illuminate/filesystem: ^6.0|^7.0|^8.0
- illuminate/support: ^6.0|^7.0|^8.0
- league/flysystem: ~1.0
- league/flysystem-webdav: ^1.0.9
- sabre/dav: ~3.1|~4.0
- sabre/http: ^5.0.5
Requires (Dev)
- nunomaduro/larastan: ^0.7.13
- orchestra/testbench: ^3.0
- phpstan/phpstan: ^0.12.99
- phpunit/phpunit: ~5.0|~6.0|~7.0|~8.0
This package is auto-updated.
Last update: 2024-11-15 19:52:35 UTC
README
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=