PHP SDK
PHP 7.4+ with curl + sodium · LibreAuth native client · Protocol v2 available (Enterprise)
PHP
PHP 7.4+ with curl + sodium
Setup Guide
LibreAuthV2.php · OpsBridge::ProcessCheckOps after Check · OpsExecutor + Hardening · full Windows ops parity · ext-sodium · AEAD iv16 · /api/v2/
- Credentials: name + ownerid (10 characters)
- API URL:
https://libreauth.nutexe.dev/api/1.3/ - Source:
php/LibreAuth.php - Ed25519 key: from
init→ Response Signing - Test: Live API · Init docs
Install / Dependencies
Terminal
# 1.x: LibreAuth.php + sodium
# v2 Enterprise: LibreAuthV2.php → /api/v2/
Code Example
PHP
require 'LibreAuthV2.php';
$app = new LibreAuthV2('AppName', 'OWNER_ID_10', 'https://host/api/v2/');
$app->Init();
$app->Login('user', 'pass', 'HWID');
Quick Test
Test
php sdk/php/example.php
Protocol v2 (Enterprise)
INFO
Requires Enterprise plan. Endpoint
https://libreauth.nutexe.dev/api/v2/. Guide: API Protocol v2.Source: php/LibreAuthV2.php
PHP · v2
require 'LibreAuthV2.php';
$app = new LibreAuthV2('AppName', 'OWNER_ID_10', 'https://host/api/v2/');
$app->Init();
$app->Login('user', 'pass', 'HWID');
More Links
- ← All Client SDKs
- 1.x source: View LibreAuth.php
- Protocol v2: View LibreAuthV2.php · docs
- Interactive API docs
- Response Signing