LaravelPackages.net
Acme Inc.
Toggle sidebar
beknazar312/laravel-nextcloud

Laravel 9 NextCloud Filesystem

2
0
About beknazar312/laravel-nextcloud

beknazar312/laravel-nextcloud is a Laravel package for laravel 9 nextcloud filesystem. It currently has 0 GitHub stars and 2 downloads on Packagist. Install it with composer require beknazar312/laravel-nextcloud. Discover more Laravel packages by beknazar312 or browse all Laravel packages to compare alternatives.

Last updated

laravel-nextcloud

Based on https://github.com/jedlikowski/laravel-nextcloud

Install

Via Composer

$ composer require beknazar312/laravel-nextcloud

Usage

Register the service provider in your app.php config file:

// config/app.php

'providers' => [
    ...
    Jedlikowski\NextCloudStorage\NextCloudServiceProvider::class
    ...
];

Create a NextCloud filesystem disk:

// config/filesystems.php

'disks' => [
	...
	'nextcloud' => [
	    'driver'     => 'nextcloud',
	    'baseUri'    => 'https://mywebdavstorage.com',
	    'userName'   => 'johndoe',
	    'password'   => 'secret',
	    'pathPrefix' => '', // provide a subfolder name if your NextCloud instance isn't running directly on a domain, e.g. https://example.com/drive
	],
	...
];

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

Comments