PHP code example of nextgen-tech / laravel-nextcloud-driver

1. Go to this page and download the library: Download nextgen-tech/laravel-nextcloud-driver library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

nextgen-tech / laravel-nextcloud-driver example snippets


// config/filesystems.php

'disks' => [
    ...
    'nextcloud' => [
        'driver'   => 'nextcloud',
        'url'      => env('NEXTCLOUD_URL', ''),
        'user'     => env('NEXTCLOUD_USER', ''),
        'password' => env('NEXTCLOUD_PASSWORD'),
        'proxy'    => env('NEXTCLOUD_PROXY'),
        'encoding' => env('NEXTCLOUD_ENCODING'),
    ],
    ...
];