View on GitHub

Synology

PHP Implementation of Synology Download Station

Download this project as a .zip file Download this project as a tar.gz file

Synology PHP

This is an update of https://github.com/zzarbi/synology with new code standards and namespaces.

This is a PHP Library that consume Synology APIs

Usage for Synology Api:

$synology = new Synology\Api('192.168.10.5', 5000, 'http', 1);
//$synology->activateDebug();
$synology->connect('admin', 'xxxx');
print_r($synology->getAvailableApi());

Usage for AudioStation:

$synology = new Synology\Applications\AudioStation('192.168.10.5', 5000, 'http', 1);
$synology->connect('admin', 'xxxx');
print_r($synology->getInfo());