Handy Extension Licensing: Documentation
Everything you need to install, set up and use Handy Extension Licensing. If anything here isn't clear, ask us – we'd rather improve the page than leave you guessing.
Requirements
Joomla 6.0 or later, PHP 8.3 or later with sodium and zip, MySQL 8 / MariaDB 10.4 or PostgreSQL, and HTTPS — licence keys travel in update URLs. The licence server is usually your own website, the one that sells your extensions.
Installation and next steps
System → Install → Extensions: upload pkg_handylicensing-1.1.1.zip from My downloads. The package installs the component and the System plugin (enabled). On a site without the License Manager the installer creates the first signing key and a protected release folder.
- Signing Key: download the backup of the secret key and keep it safe — without it you cannot issue keys that existing installations accept. Copy the public key: it is built into your extensions.
- Products: create your products with features and plans.
- Build your extensions with the developer kit (public key, key prefix).
- Releases: upload the installable zips; the update URLs are shown there.
- Licences: issue keys by hand, or connect your shop (API Clients, or Handy Download Sales on the same site).
Migration from the License Manager
If the License Manager of Handy Site Review (com_hsrlicenses 1.0.0–1.2.0) is installed and Handy Extension Licensing has no data yet, the installation takes over:
| License Manager | Handy Extension Licensing |
|---|---|
| signing keys (the active one stays active) | signing keys — existing keys remain valid |
| licences (same ids, numbers, keys, domains, features, dates, states) | licences (plan = the former edition) |
| products Handy Site Review (HSR1) and Handy Database Tool (HDT1) | products with their features and one plan per edition in use |
| download log, release zips, options | download log, releases, options |
The old update URLs (index.php?option=com_hsrlicenses&task=updates.xml and task=updates.download) are answered through the System plugin (option Answer Old Update URLs, on by default). Check the data, then uninstall the License Manager; keep the option on while installed extensions still use the old URL. The import runs once, only while Handy Extension Licensing is empty.
Products and plans
| Title | name shown in licences, update information and e-mails |
|---|---|
| Element | identity of the Joomla extension: pkg_name, com_name, mod_name, plg_group_name, tpl_name, lib_name; used to match release zips and in the update URL. Cannot be changed once licences exist. |
| Key prefix | 2–8 capital letters and a digit (e.g. FOO1); the developer kit only accepts keys with its product's prefix. Cannot be changed once licences exist. |
| Number prefix | licence numbers <prefix>-<year>-<counter> |
| Features | identifiers and labels of what licences can unlock; updates is required for the update server |
| Plans | code (e.g. single, agency), title, features, max. domains (0 = unlimited), any domain, update months (0 = lifetime), validity months (0 = perpetual), published |
| Information URL, target platform, PHP minimum | defaults for the update information |
Licences
Licences → New: product, plan (features, domains and dates follow from it and can be adjusted), licensee name and e-mail, domains (one per line; * = any; www. and schemes are removed; subdomains are covered), notes, order reference. Issue signs the key and shows it with a text for the customer.
List actions: Suspend / Reinstate (temporary), Revoke (permanent), Renew (update period extended, new key), delete. Filters: product, plan, state, text (number, name, e-mail, domain, order reference).
Changing domains, dates or features re-signs the key; the customer needs the new key for offline checks, while the update server always uses the stored licence. A transferred licence supersedes the previous holder's keys.
Signing key
The active key signs new licences; older keys keep verifying theirs. Generate new key rotates (new builds of your extensions need the new public key), Import restores a secret key backup (e.g. after moving server), Download backup saves it. Secret keys are encrypted with a key derived from the site secret in configuration.php — keep the backup separately from database backups.
Releases and update server
Upload the installable zip of a product: product and version come from the manifest; notes, target platform (default 6\..*), PHP minimum and publication state can be set; Replace overwrites a version's file. The page shows the update URL of each product:
https://www.example.com/index.php?option=com_handylicensing&task=updates.xml&product=pkg_name
Put it into your extension's manifest together with <dlid prefix="dlid=" suffix=""/>. The update XML is public; downloads are only delivered for a Download Key whose licence is active, belongs to the product, has updates and an update period that has not ended. Every attempt is logged under Downloads. With Handy Download Sales, stable releases are published here automatically.
API clients and shops
Create a client per integration with the scopes it needs: read, issue, manage, releases. The token (hel_…) is shown once. Clients can be disabled or deleted.
Handy Download Sales on the same site needs no API client (it calls Handy Extension Licensing directly); on another site give it a client with the scopes read, issue, manage and releases. See the API reference.
Options and permissions
- Licences: default update months, rate limit of the public validation (requests per hour and IP).
- Updates: default product of the old update URL, release folder (preferably outside the web root), default target platform, PHP minimum, information URL, maintainer, logging of IP addresses, answering the old update URLs.
- Licence: your licence key of Handy Extension Licensing itself (
HEL1.…, for its own updates).
Permissions: Manage Products, Manage Releases, Manage Signing Keys, Manage API Clients and Joomla's core permissions for licences.
Upgrade and uninstall
Upgrade: install the new package over the old one, or use Joomla's update manager with your HEL1 key while your twelve months of updates run. Data and options are kept; downgrades are refused.