PHP code example of terzinnorbert / syncthing-php
1. Go to this page and download the library: Download terzinnorbert/syncthing-php 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/ */
terzinnorbert / syncthing-php example snippets
composer
SyncthingRest\Client;
$client = Client('http://localhost:8384','abcdabcd');
var_dump($client->getSystemConfig());
Client::convertTime('2018-05-06T10:21:00.533401659Z');