PHP code example of bnomei / kirby-dropbox-backup

1. Go to this page and download the library: Download bnomei/kirby-dropbox-backup 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/ */

    

bnomei / kirby-dropbox-backup example snippets




return [
    // other options...
    
    'bnomei.dropbox-backup.target-dir' => '/backup', // default
    'bnomei.dropbox-backup.token' => 'MY-TOKEN', // or with closure to .env file
    'bnomei.dropbox-backup.token' => fn() => env('DROPBOX_API_TOKEN'),
];