Use case
Licence keys and updates for WordPress plugins and themes
Sell a premium plugin or theme? DevEntitle gives each buyer a key, counts the sites it is used on, and hands out signed update zips to licences that cover them.
How it fits
-
Per-site licences
The site’s host is recorded on activation. Single-site, five-site or unlimited licence types are yours to define.
-
Staging never counts
Development hosts such as
localhost,*.local,*.testand private IP addresses are free. -
Fair to buyers
A licence unlocks updates, downloads and support. Your plugin must keep every feature working when the licence is invalid or the server can’t be reached.
-
Plain PHP
There is no WordPress-specific package. Copy the plain PHP client (PHP 7.4+ with curl and sodium) into your plugin and call it from your settings page.
The code
From the copy-paste client files. Never switch features off: show the licence message and hold back updates.
$client = new DevEntitleClient('https://terminal.deventitle.com', 'acme-crm', ACME_RELEASE_PUBLIC_KEY);
$result = $client->activate($key, 'crm.buyer.com', '1.4.2'); // ['valid' => true, 'message' => …]
$latest = $client->checkForUpdate($key, 'crm.buyer.com', '1.4.2'); // null when up to date
if ($latest && isset($latest['download_url'])) {
$client->downloadVerified($latest, '/tmp/acme-crm-'.$latest['version'].'.zip');
} Getting started
- 1
Create a free account, add the plugin as a product, and add licence types.
- 2
Copy the PHP client into your plugin and add a key field to its settings page.
- 3
Check for updates on demand or once a day, never on every page view.
- 4
Sign each release zip with the Release Kit and publish it.
Questions
Can I sell the plugin on DevEntitle?
Yes, optionally. The storefront takes payment into your own Stripe, PayPal or Razorpay account and issues the key after the payment is verified. DevEntitle takes no fee.
What happens when support ends?
The licence stays valid and the buyer can still download every release published before support ended. Newer versions ask them to renew.
How does a buyer move to a new site?
They deactivate in the plugin, or remove the old site in the DevEntitle buyer portal, then activate on the new site.
Other use cases
Add your first product today
Free for software companies. No fees on sales. Your buyers pay you directly.