rolandalla / laravel-nextcloud
Laravel WebDAV| Nextcloud Filesystem
1.1.0
2023-10-18 14:44 UTC
Requires
- php: ^8.0 || ^8.1
- illuminate/filesystem: ^8.67 || ^9.0 || ^9.21 || ^10.0
- league/flysystem-webdav: ^3.0
Requires (Dev)
- orchestra/testbench: ^3.0
- phpunit/phpunit: ^9.5 || ^9.6
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).