Skip to content

Latest commit

 

History

History
43 lines (29 loc) · 960 Bytes

README.md

File metadata and controls

43 lines (29 loc) · 960 Bytes

laravel-nextcloud

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).