adamkiss/toolkit

Standalone copy of Toolkit parts of Kirby CMS

Installs: 0

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/adamkiss/toolkit

0.1.6 2025-11-21 14:42 UTC

This package is auto-updated.

Last update: 2025-11-21 14:43:28 UTC


README

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