Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 

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

Releases

No releases published

Packages

No packages published

Languages