PHPackages                             johannschopplich/kirby-tools-licensing - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. johannschopplich/kirby-tools-licensing

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

johannschopplich/kirby-tools-licensing
======================================

License system backend for Kirby Tools plugins

0.8.4(1mo ago)312.9k↓12.3%4AGPL-3.0-or-laterPHP

Since Jun 16Pushed 2mo agoCompare

[ Source](https://github.com/kirby-tools/licensing-backend)[ Packagist](https://packagist.org/packages/johannschopplich/kirby-tools-licensing)[ Docs](https://github.com/kirby-tools/licensing-backend#readme)[ RSS](/packages/johannschopplich-kirby-tools-licensing/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (4)Versions (28)Used By (4)

Kirby Tools Licensing Backend
=============================

[](#kirby-tools-licensing-backend)

Backend licensing system for all commercial [Kirby Tools plugins](https://kirby.tools). This package provides server-side license validation, activation, and management that enables:

- Trial periods and license enforcement
- Seamless license activation from within Kirby
- Version-based license compatibility checking
- [Panel integration for license status display](https://getkirby.com/releases/5/plugin-license)

For Panel-side licensing UI components, see [@kirby-tools/licensing](https://github.com/kirby-tools/licensing-panel).

Classes
-------

[](#classes)

The licensing classes handle:

- **License Validation**: Validates Kirby Tools license keys against the remote API
- **Plugin Integration**: Seamlessly integrates with Kirby 5's native plugin license system
- **Version Compatibility**: Checks license compatibility with plugin versions using semantic versioning
- **License Management**: Handles license activation, storage, and status reporting
- **Automatic Updates**: Refreshes license data when plugin versions change

### `Licenses`

[](#licenses)

The main licensing engine that:

- Reads and writes license data to `.kirby-tools-licenses` file
- Communicates with the Kirby Tools API at `https://repo.kirby.tools/api`
- Validates license keys using the pattern `KT{generation}-{hash}-{hash}`
- Manages license status: `active`, `inactive`, `invalid`, `incompatible`, `upgradeable`
- Handles license activation via email and order ID

### `PluginLicense`

[](#pluginlicense)

Kirby 5 integration adapter that:

- Extends Kirby's native [`License`](https://getkirby.com/docs/reference/objects/plugin/license) class
- Maps internal license statuses to [Kirby's license status system](https://getkirby.com/releases/5/plugin-license)
- Provides standardized license display in the Kirby Panel
- Integrates with Kirby's plugin management interface

License
-------

[](#license)

[AGPL](./LICENSE) License © 2024-PRESENT [Johann Schopplich](https://github.com/johannschopplich)

###  Health Score

45

—

FairBetter than 93% of packages

Maintenance87

Actively maintained with recent releases

Popularity30

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~25 days

Recently: every ~16 days

Total

27

Last Release

53d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b9be5bf8dd3a36f63c00f92a115f1109567745fb3b068617341ffc8a90755d6c?d=identicon)[johannschopplich](/maintainers/johannschopplich)

---

Top Contributors

[![johannschopplich](https://avatars.githubusercontent.com/u/27850750?v=4)](https://github.com/johannschopplich "johannschopplich (98 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/johannschopplich-kirby-tools-licensing/health.svg)

```
[![Health](https://phpackages.com/badges/johannschopplich-kirby-tools-licensing/health.svg)](https://phpackages.com/packages/johannschopplich-kirby-tools-licensing)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
