Skip to content

robvanaarle/ultimo-synology-ds

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Ultimo Synology DS

Implementation of the Synology Diskstation SDK in PHP

Currently only supports authentication.

Features

  • Login
  • Logout
  • Authentication
  • Get system user id
  • Get system user group names and ids

Requirements

  • PHP 5.3

Usage

$core = new \ultimo\sdk\synology\ds\Core();

// get details of the user currently logged in to DSM
$username = $core->authenticate();
$userId = $core->getUserId($username);
$groups = $core->getUserGroupIds($username);

// log in as admin
if ($core->login("AdMiN", "secret")) {
  echo "Now logged in as " . $core->authenticate();
}

Background information

More information can be found in the following blog post.

About

Implementation of the Synology Diskstation SDK in PHP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages