Plugin licenses
Plugin licenses are now shown in the plugins table with an additional icon and theme to indicate their status. Licenses can now have an additional link to their license document or a custom license shop. #6738
- New
Kirby\Plugin\License
class - New
Kirby\Plugin\LicenseStatus
class - New
k-table-license-cell
component in the system view
Defining a plugin license as simple array
This is great if you want to point to your own license document.
Setting a custom status
A Custom license for your plugin
You can also pass a license object. Extend our Kirby\Plugin\License
class to return a custom status, them, icon and label, depending on the state of your plugin’s license. This is great if you are working with a proprietary license for your plugin, which might still need to purchased/activated by the user.