PHPackages                             sdkey/sdk - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. sdkey/sdk

ActiveLibrary

sdkey/sdk
=========

Official PHP client for SDKey license authentication

v0.3.0(1mo ago)12↓66.7%MITPHPPHP ^8.1

Since Jul 18Pushed 1mo agoCompare

[ Source](https://github.com/SDKeyDev/sdkey-php)[ Packagist](https://packagist.org/packages/sdkey/sdk)[ Docs](https://github.com/SDKeyDev/sdkey-php)[ RSS](/packages/sdkey-sdk/feed)WikiDiscussions main Synced 2w ago

READMEChangelog (2)Dependencies (2)Versions (5)Used By (0)

sdkey/sdk
=========

[](#sdkeysdk)

Official PHP client for [SDKey](https://docs.sdkey.dev) license authentication.

Implements the sealed session protocol: Ed25519-verified handshake, HKDF session keys, and AES-256-GCM envelopes for validate, register, login, and upgrade. See [PROTOCOL.md](./PROTOCOL.md).

**Version:** `0.3.0` (Packagist / git tag `v0.3.0`)

Install
-------

[](#install)

```
composer require sdkey/sdk
```

Requires PHP 8.1+ with `ext-sodium`, `ext-openssl`, `ext-json`, and `ext-curl`.

Quick start
-----------

[](#quick-start)

Embed these values from the SDKey dashboard when you ship your app. `appVersion` must **exactly match** the application version configured in SDKey (`clientVersion` on session init); mismatch → `APP_OUTDATED`.

```
