PHP code example of sinapsteknologi / nextcloud-manager

1. Go to this page and download the library: Download sinapsteknologi/nextcloud-manager 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/ */

    

sinapsteknologi / nextcloud-manager example snippets


use Sinapsteknologi\NextcloudManager\NextcloudService;

$url = app(NextcloudService::class)->uploadAndShare($request->file('file'));
bash
php artisan vendor:publish --tag=nextcloud-config
bash
php artisan nextcloud:clean --days=30