johannschopplich / kirby-tools-licensing
License system backend for Kirby Tools plugins
Package info
github.com/kirby-tools/licensing-backend
pkg:composer/johannschopplich/kirby-tools-licensing
0.9.5
2026-09-20 19:09 UTC
Requires
- php: >=8.2
Requires (Dev)
- getkirby/cms: ^5
- phpunit/phpunit: ^12
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Backend licensing system for all commercial Kirby Tools plugins. This package handles license activation, status, and storage on the server side, which enables:
- License status and enforcement
- Seamless license activation from within Kirby
- Checking the installed plugin version against the license's compatibility constraint
- Panel integration for license status display
For Panel-side licensing UI components, see @kirby-tools/licensing.
Classes
The licensing classes handle:
- License Activation: Confirms email and license key with the license server
- Plugin Integration: Seamlessly integrates with Kirby 5's native plugin license system
- Compatibility Constraint: Checks the installed plugin version against the constraint the license carries, using semantic versioning
- License Management: Handles license activation, storage, and status reporting
- Automatic Updates: Refreshes license data when plugin versions change
Licenses
The main licensing engine that:
- Reads and writes license data to
.kirby-tools-licensesfile - Communicates with the Kirby Tools API at
https://repo.kirby.tools/api - Checks license keys against the pattern
KT{generation}-{hash}-{hash} - Manages license status:
active,inactive,invalid,incompatible,upgradeable - Handles license activation via email and license key
PluginLicense
Kirby 5 integration adapter that:
- Extends Kirby's native
Licenseclass - Maps internal license statuses to Kirby's license status system
- Provides standardized license display in the Kirby Panel
- Integrates with Kirby's plugin management interface
License
AGPL License © 2024-PRESENT Johann Schopplich