chaton / chaton-sdk
Official SDK for ChatOn - License validation, auto-updates, and plugin management
v1.0.4
2026-02-13 03:37 UTC
Requires
- php: ^8.2
- guzzlehttp/guzzle: ^7.8
- illuminate/cache: ^11.0|^12.0
- illuminate/http: ^11.0|^12.0
- illuminate/support: ^11.0|^12.0
Requires (Dev)
- mockery/mockery: ^1.6
- orchestra/testbench: ^9.0
- phpunit/phpunit: ^11.0
README
Official SDK for ChatOn application - License validation, auto-updates, and plugin management.
Features
- 🔐 License Validation - RSA signature verification with embedded public key
- 🔄 Auto Updates - Automatic version updates for ChatOn core and plugins
- 🧩 Plugin Management - Install, update, and manage plugins
- 💾 Smart Caching - Multi-layer caching with 7-day grace period
- 🌐 Domain Locking - Secure domain-based licensing
- 🚀 SAAS Control - Feature gating based on license type
Installation
Install via Composer:
composer require chaton/chaton-sdk
Configuration
Publish the configuration file:
php artisan vendor:publish --tag=chaton-config
Usage
License Validation
use Chaton\SDK\Facades\License; // Check if license is valid if (License::isValid()) { // License is valid } // Check SAAS features if (License::isSaasEnabled()) { // SAAS features available }
Get License Information
$info = License::getLicenseInfo(); // Returns: purchase_code, domain, license_type, features, etc.
Requirements
- PHP 8.2+
- Laravel 11.x or 12.x
License
The ChatOn SDK is proprietary software. Unauthorized distribution is prohibited.
Support
- Documentation: https://docs.chaton.app
- Support: support@chaton.app
- Website: https://chaton.app