Skip to content

Latest commit

 

History

History
58 lines (42 loc) · 1.08 KB

File metadata and controls

58 lines (42 loc) · 1.08 KB

Authon PHP SDK

Authon
Official PHP SDK for Authon — Software Licensing & Authentication Platform

WebsiteDocsDiscordStatus


Requirements

  • PHP 7.4+
  • cURL extension (usually installed by default)

Installation

Copy authon.php into your project:

require_once 'authon.php';

Quick Start

$auth = new Authon('your-app-id', 'your-api-key');
$auth->init();

$result = $auth->login('username', 'password');
if ($result['success']) {
    echo "Level: " . $auth->level;
}

Run Example

php example.php

Links

License

MIT