chaton/chaton-sdk

Official SDK for ChatOn - License validation, auto-updates, and plugin management

Maintainers

Package info

github.com/elgiidhan/chaton-sdk

Homepage

pkg:composer/chaton/chaton-sdk

Statistics

Installs: 2

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.4 2026-02-13 03:37 UTC

This package is auto-updated.

Last update: 2026-03-19 02:44:52 UTC


README

Official SDK for ChatOn application - License validation, auto-updates, and plugin management.

Latest Version Total Downloads License

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