rolandalla/laravel-nextcloud

Laravel WebDAV| Nextcloud Filesystem

1.1.0 2023-10-18 14:44 UTC

This package is auto-updated.

Last update: 2024-11-18 20:10:20 UTC


README

Credits on the idea go to : https://github.com/protonemedia/laravel-webdav#laravel-webdav

Install

Via Composer

$ composer require rolandalla/laravel-nextcloud

Create a NextCloud filesystem disk:

// config/filesystems.php

'disks' => [
	...
	'nextCloud' => [
            'driver' => 'nextCloud',
            'baseUri' =>  env('NEXT_CLOUD_URL','https://your-web-dat-domain.com'), //replace by yours baseUri
            'userName' => env('NEXT_CLOUD_USERNAME','web-dav-username'),
            'password' => env('NEXT_CLOUD_PASSWORD','web-dav-password'),
            'pathPrefix' => env('NEXT_CLOUD_PATH_PREFIX',false), // Default value is null
    ],
	...
];

Credits

License

The MIT License (MIT).