Skip to navigation

PHP SDK

V3 BETA

What you need

SupportedRecommended
PHP7.4 to 8.58.3 or newer
Extensionssodium and json, both bundled with PHPcurl
Windowsffi for protected storage, device login and update prompts

The PHP SDK is several files, so the download is a ZIP. Unzip it into a folder in your project, for example authlyx, and include its autoloader:

require __DIR__ . '/authlyx/autoload.php';

With Composer, add the folder as a path repository and require authlyx/authlyx instead.

The PHP guide walks through everything from creating the client to signing out. The example on GitHub is a complete console app.

Verify the download

SHA-256 of the ZIP:

859a05718a928e777c9c152008e52f049b8ba305a70a1a429ab7d33ff0ab12c6