PHP code example of texxasrulez / tasklist

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

    

texxasrulez / tasklist example snippets


// Core CalDAV endpoint (no credentials here; Roundcube uses your session)
$config['tasklist_caldav_server'] = 'https://YOUR.DOMAIN/cloud/remote.php/dav/';

// Optional: leave empty to let discovery pick a list,
// or set explicitly to your VTODO collection if you prefer.
// Use %u for full login, %p for local-part (before '@').
$config['nextcloud_tasks_collection'] = ''; // e.g. '/cloud/remote.php/dav/calendars/%u/e2ea7342.../'

$config['plugins'][] = 'tasklist';