Use case
Licence keys and updates for PHP and Laravel apps
Sell a self-hosted PHP or Laravel product? Copy one client file into it, and DevEntitle handles the keys, the activation limits and the signed updates.
How it fits
-
Counted per domain
Each install is recorded by its website host. A limit of 0 means unlimited.
-
Local sites are free
localhost,*.test,*.localand private IP addresses never use up a licence, so buyers can run staging and development copies. -
Updates you can trust
Releases are signed with Ed25519 on your machine. The client checks the SHA-256 and the signature with PHP’s sodium functions before installing.
-
Two ready files
DevEntitleClient.phpfor plain PHP (7.4+ with curl and sodium) andDevEntitleLaravel.phpfor Laravel, configured inconfig/services.php.
The code
From the copy-paste client files. Never switch features off: show the licence message and hold back updates.
// config/services.php
'deventitle' => [
'server' => env('DEVENTITLE_SERVER', 'https://terminal.deventitle.com'),
'product' => 'acme-crm',
'public_key' => env('DEVENTITLE_RELEASE_PUBLIC_KEY'),
],
$result = DevEntitle::activate($key); // ['valid' => true, 'message' => …]
$latest = DevEntitle::checkForUpdate($key); // null when up to date
DevEntitle::downloadVerified($latest, storage_path('app/update.zip')); Getting started
- 1
Create a free account and add your product (its slug is what the client sends).
- 2
Copy the PHP or Laravel client from the client code page.
- 3
Add a licence screen: a key field that calls
activate, and an update check. - 4
Sign releases with the PHP Release Kit and upload them.
Questions
Is there a Composer package?
No. The client is a single file you copy into your app, so there is no dependency to keep up to date.
Does it work with Laravel’s HTTP client?
Yes. The Laravel client uses Laravel’s Http facade and reads its settings from config/services.php.
Can I issue keys from my own checkout?
Yes. Call POST /licenses on the Management API with an Idempotency-Key, such as your order ID, so a retry never issues twice.
Other use cases
Add your first product today
Free for software companies. No fees on sales. Your buyers pay you directly.