rolandalla/laravel-nextcloud

Laravel WebDAV| Nextcloud Filesystem

1.1.0 2023-10-18 14:44 UTC

This package is auto-updated.

Last update: 2024-04-21 19:25:54 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).