All articles
rotect your premium products using PMMPHub's built-in licensing system. Learn how to enable licensing, integrate the verification API, and manage customer licenses directly from your Creator Dashboard.
Last Updated: 29 June 2026
PMMPHub includes a built-in licensing system designed to help creators protect their premium products from unauthorized sharing while keeping integration simple.
Licensing is completely optional and can be enabled individually for each product from your Creator Dashboard.
PMMPHub Licensing is an integrated license management system that allows creators to verify purchases directly from their products.
When enabled, every purchase automatically receives a unique license key which can be verified through the PMMPHub Licensing API.
Creators can manage every license directly from their Creator Dashboard without writing their own licensing backend.
PMMPHub Licensing includes:
Automatic license generation
One unique license key per purchase
HTTPS-secured verification
Built-in Creator Dashboard
Instant license revocation
License suspension
Activation management
Rate-limited API
Customer information
Purchase information
Product information
PHP integration example
Real-time verification
Licensing is optional.
Creators may enable or disable licensing individually for every product they publish.
Products that do not require licensing may be distributed normally without using the Licensing API.
Creators may choose how licenses are validated.
Supported activation methods include:
HWID Validation
IP Address Validation
UUID Validation
Creators may use one or multiple validation methods depending on their product.
Every creator can configure licensing rules independently.
Creators may configure:
Maximum IP addresses
Maximum HWIDs
License expiration
Activation limits
Verification behaviour
There is no platform-imposed maximum activation limit.
The Creator Dashboard allows creators to:
View active licenses
View customer information
View purchase information
View activation history
View verification logs
Revoke licenses
Suspend licenses
Reset activations
Whitelist additional activations
Changes take effect immediately.
License verification is performed through:
POST /api/v1/license/verifyEvery request should contain a valid license key.
Additional identifiers such as HWID may also be supplied depending on your licensing configuration.
<?php
$payload = json_encode([
'license_key' => getenv('LICENSE_KEY'),
'hwid' => getMachineId(), // Optional
]);
$ctx = stream_context_create([
'http' => [
'method' => 'POST',
'header' => "Content-Type: application/json\r\n",
'content' => $payload,
],
]);
$response = file_get_contents(
'https://your-domain.com/api/v1/license/verify',
false,
$ctx
);
$data = json_decode($response, true);
if (!$data['success']) {
die($data['message']);
}
echo "License Verified!";A successful verification returns information about the license, customer and purchased product.
Example:
{
"status": "active",
"success": true,
"message": "License key is valid",
"license": {
"license_key": "cf849418-d22d-42e4-9b56-121a8bf052e5",
"status": "active",
"expires_at": null,
"issue_date": "2026-01-01T00:00:00Z",
"max_ips": -1,
"used_ips": [],
"max_hwids": -1,
"used_hwids": []
},
"customer": {
"id": "...",
"discord_id": "...",
"customer_since": "2026-01-01T00:00:00Z"
},
"product": {
"id": "...",
"name": "Example Product",
"enabled": true,
"version": "1.0.0"
}
}The Licensing API may return one of the following statuses:
Status | Description |
|---|---|
active | License is valid. |
inactive | License has been disabled. |
expired | License has expired. |
invalid | Invalid license key supplied. |
not_found | License could not be found. |
max_ips | Maximum IP limit reached. |
hwid_required | HWID validation is required. |
max_hwids | Maximum HWID limit reached. |
error | Unexpected server error. |
PMMPHub Licensing is designed with security in mind.
The Licensing API includes:
HTTPS encrypted requests
Encrypted license storage
API rate limiting
Verification logging
Secure communication
Creator-controlled licensing rules
The Creator Dashboard provides complete control over your licenses.
Creators can:
Search licenses
View customer information
View Discord account (if linked)
View activation history
Suspend licenses
Revoke licenses
Reset activations
Configure licensing settings
Manage every licensed product from a single dashboard
For the best level of protection we recommend:
Verify licenses whenever your application starts.
Enable HWID validation where appropriate.
Do not embed secret API credentials directly into public source code.
Obfuscate your licensing implementation where appropriate.
Handle API failures gracefully.
Keep your integration up to date.
No licensing system can completely prevent piracy, but proper implementation significantly increases the difficulty of bypassing license verification and helps identify unauthorized redistribution.
No. Licensing is optional and can be enabled per product.
Yes. Creators are free to use their own licensing solution if they prefer.
Yes. Licenses can be revoked instantly from the Creator Dashboard.
Yes.
Yes.
No.
PMMPHub aims to maintain backwards compatibility wherever reasonably possible.
PMMPHub plans to continue expanding the licensing platform with additional creator tools and security features.
Future improvements may include:
Official PHP SDK
Built-in obfuscation tools
Enhanced analytics
Additional verification methods
Improved dashboard management
Changes to the Licensing API and documentation will be published here as new versions become available.
Talk to our community or create a ticket on our Discord server
More articles
Learn the rules and standards that apply to everyone using PMMPHub, including creators, customers, partners, and staff.
Learn how PMMPHub handles inactive creator accounts, unused balances, notifications, and account activity requirements.
Learn how products are reviewed before publication, what our moderators check, common rejection reasons, and how to ensure your submission meets PMMPHub's marketplace standards.
Learn how PMMPHub handles copyright infringement reports, intellectual property disputes, and repeat violations.
Categories