Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nextgen-tech/laravel-nextcloud-driver
Laravel Filesystem Driver for NextCloud
https://github.com/nextgen-tech/laravel-nextcloud-driver
cloud filesystem flysystem laravel nextcloud storage
Last synced: 3 months ago
JSON representation
Laravel Filesystem Driver for NextCloud
- Host: GitHub
- URL: https://github.com/nextgen-tech/laravel-nextcloud-driver
- Owner: nextgen-tech
- License: mit
- Fork: true (jedlikowski/laravel-nextcloud)
- Created: 2021-10-12T11:41:06.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2021-10-15T13:13:58.000Z (about 3 years ago)
- Last Synced: 2024-03-25T21:51:48.667Z (9 months ago)
- Topics: cloud, filesystem, flysystem, laravel, nextcloud, storage
- Language: PHP
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Laravel Nextcloud Filesystem Driver
Based on [pbmedia/laravel-webdav](https://github.com/pascalbaljetmedia/laravel-webdav), fork of [jedlikowski/laravel-nextcloud](https://github.com/jedlikowski/laravel-nextcloud).
## Installation
```bash
composer require nextgen-tech/laravel-nextcloud-driver
```## Usage
Create a Nextcloud filesystem disk:
```php
// 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=
```