PHP Toolkit is a standalone fork/copy of Toolkit, MIT licensed parts of Kirby CMS. Additionally, it also provides a single file version for usage in contexts where packagist/composer aren't available/advisable, like scripting, Alfred plugins etc.
composer require adamkiss/toolkitor download the single file build from Github Releases
Current release is based on Kirby CMS 5.1.3.
This is a running list of changes implemented/maintained in the fork
November 2025
- based on Kirby 5.1.3
- changed namespace to
Adamkiss\Toolkit - written a build action that:
- includes dependencies
- includes mocks for proprietary parts of Kirby called from toolkit (those toolkit parts won't work)
- outputs
./dist/toolkit-{version}.php
- added
Adamkiss\Toolkit\A::mapWithKeysto map an array with keys and provide filtering at the same time modifiedAdamkiss\Toolkit\A::mapto provide keys along with values to the mapping closure
MIT License, originally written by Bastian Allgeier + Kirby contributors, maintained by Adam Kiss