jambtc / keydom-php-sdk
There is no license information available for the latest version (v1.0.0) of this package.
SDK PHP per Keydom
v1.0.0
2025-03-13 18:11 UTC
Requires
- php: >=8.0
- guzzlehttp/guzzle: ^7.4.5
- guzzlehttp/psr7: ^2.7
Requires (Dev)
- phpunit/phpunit: ^11.3
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 $userController = new \Keydom\Controllers\UserController($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 = $userController->create($jsonBody);