Skip to content

adamkiss/toolkit

Repository files navigation

PHP Toolkit

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.

Installation

composer require adamkiss/toolkit

or download the single file build from Github Releases

Version

Current release is based on Kirby CMS 5.1.3.

Changes

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::mapWithKeys to map an array with keys and provide filtering at the same time
  • modified Adamkiss\Toolkit\A::map to provide keys along with values to the mapping closure

License

MIT License, originally written by Bastian Allgeier + Kirby contributors, maintained by Adam Kiss

About

Standalone copy of Toolkit parts of Kirby CMS (WIP)

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages