PHP (locksmith/sdk-php)
composer require locksmith/sdk-php
PHP 8.2+ with ext-json. Methods return the inner data object from Locksmith’s JSON envelope.
Quick start
<?php
use Locksmith\LocksmithClient;
$client = new LocksmithClient(getenv('LOCKSMITH_API_KEY'));
$data = $client->signIn('user@example.com', 'secure-password');
$user = $client->getUser($data['accessToken']);
Local JWT verification
$payload = $client->verifyTokenLocal($accessToken, $publicKeyPem);
Registry
Published as locksmith/sdk-php on Packagist; coordinates may vary until GA.