Skip to content

Kirby 3.7.3


Object and variable dumper to help with debugging.

Deprecated in 3.7.0
Disable dump() via KIRBY_HELPER_DUMP instead and create your own function

You can override our dump() helper with your own implementation or an implementation from a framework.

Kirby::plugin('my/dumper', [
    'components' => [
        'dump' => function ($kirby, $variable, bool $echo = true) {
            // dump that var


Name Type Default Description
$kirby * Kirby\Cms\App Kirby instance
$variable * mixed
$echo bool true

Return type