A complete guide to integrating LicenseGuard into your PHP, Node.js, or mobile applications.
All API requests should be made to your main installation domain. Your base API URL is:
https://verify.appeesoft.com/api/license
Permanently bind a domain to a license key during installation.
{
"license_key": "YESL-8A9F-2BN4-P1LK",
"identifier": "client-domain.com"
}
Check if an already-activated license is still valid and not suspended.
{
"license_key": "YESL-8A9F-2BN4-P1LK",
"identifier": "client-domain.com"
}
A ready-to-use helper function. Copy this into your software products to verify licenses instantly using cURL.
function verify_license($license_key) {
// REPLACE WITH YOUR ACTUAL LICENSE PANEL URL
$server_url = "https://verify.appeesoft.com/api/license/verify";
$domain = $_SERVER['HTTP_HOST'];
$ch = curl_init($server_url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query([
'license_key' => $license_key,
'identifier' => $domain
]));
$result = json_decode(curl_exec($ch), true);
curl_close($ch);
// If success, return true to let the script run
if (isset($result['status']) && $result['status'] === 'success') {
return true;
}
// Block execution if invalid
die("License Error: " . ($result['message'] ?? 'Unable to verify.'));
}