jambtc/keydom-php-sdk

There is no license information available for the latest version (v1.0.0) of this package.

SDK PHP per Keydom

Installs: 7

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/jambtc/keydom-php-sdk

v1.0.0 2025-03-13 18:11 UTC

This package is auto-updated.

Last update: 2025-09-24 13:05:55 UTC


README

PHP SDK for communicating with the KEYDOM REST API

// Initialize AuthService 
$authService = new \Keydom\AuthService('https://keydom.example.com');

// Authenticate Channel In access
$authService->authenticate('username', 'password');

// Insert new user
$usersController = new \Keydom\Controllers\UsersController($authService);

$jsonBody = [
    "lastName" => "Doe",
    "firstName" => "Jhon",
    "registrationNumber" => "123",
    "address" => "95 Whitemarsh Street, Santa Clara, CA 95050",
    "phone" => "2025550196",
    "mobile" => "202-555-0196",
    "email" => "john.doe@email.com",
    "documentNumber" => "AG66677CJ"
];

$user = $usersController->create($jsonBody);