xigen / esm-sdk-php
Installs: 119
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/xigen/esm-sdk-php
Requires
- php: >=5.4.38
- guzzlehttp/guzzle: ~5.0@dev
Requires (Dev)
- phpunit/phpunit: @dev
- squizlabs/php_codesniffer: 2.*
This package is not auto-updated.
Last update: 2025-09-27 23:10:33 UTC
README
A simple PHP Library that allows you to interact with Xigen's Signature Manager's API without needing to know the endpoints or make manual curl request.
Requirements
- PHP >=5.4.38
- Curl installed (used via guzzle)
- API Key (You can get this via the ESM control panel)
Installation
Installation is done via composer
composer require xigen/esm-sdk-php
<?php require 'vendor/autoload.php'; $ESM = new \Xigen\ESM([ 'URL' => 'https://signaturemanager.co.uk/api/rest/v2/', 'APIKEY' => 'TestAPIKEY' ]);
(Replacing APIKEY with your own, the current one will work with a demo client)
Usage
As an example we can a list of every user in the system
$ESM->clientUsersGetAll(); foreach ($ESM->getRequestData()->payload->Data as $user) { var_dump($user, $user->Email); }
To get a users signature you would do something like this
$ESM->templateGetUsersSignature('User\'s hash goes here'); $ESM->getRequestData()->payload;