🌱 The next big step: Kirby 4 Beta Learn more
Skip to content


Template Engines


Field methods


Syntax highlighting




$pages->bettersearch($string, $options)

Better Search

by Bart Vandeputte

Search for full word combinations rather than just individual words.
<kb:date format="d/m/Y" field="date" />


by Hash&Salt

Write custom HTML tags, powered by PHP
<?php snippet('detect-adblock') ?>

Detect Adblock

by oweb studio

Detect ad blockers and manage the warning messages that will be displayed for Kirby 3.
$point = Geo::point(49.4883333, 8.4647222);

echo $point->lat();
echo $point->lng();


by Kirby Team

This plugin adds basic geo search and conversion functionalities to Kirby
<?= $file->id3('artist') ?>


by Hash&Salt

Read ID3 tags from audio files and use it in your templates.
<?= $page->myfield()->htmlPurify() ?>

HTML Purifier

by Bruno Meilick

Static class method, Uniform-Guard and Field-Method to filter your "dirty" HTML inputs to "clean" HTML.
// using the username

// using the page title

// using the filename

List Methods

by hana+nils

List Methods is a plugin providing methods to generate comma-separated list from collections like pages, users or files. It allows for …
<?php if ($page->isMobile()): ?>
  Nice mobile phone!
<?php endif ?>

Mobile Detect

by Bruno Meilick

Static class and page methods for using the mobile detect lib
<?= $page->random('words', 'lorem', 5) ?>


by Bruno Meilick

Kirby tag and page method to generate various random values
📁 snippets
├─ 📄 header.controller.php
└─ 📄 header.php

Snippet Controller

by Lukas Kleinschmidt

Define snippet controllers in a similar way to page controllers.
snippetWhen('article', $category->isNotEmpty())

snippetWhen Helper

by hana+nils

snippetWhen is a helper function to conditionally embed snippets.
// site/snippets/component.php
<div <?= merge('h-full w-full bg-neutral-100', $class) ?>></div>

// site/templates/default.php
<?php snippet('component', ['class' => 'w-1/2']) ?>

// output
<div class="h-full bg-neutral-100 w-1/2"></div>

Tailwind Merge

by Tobias Möritz

Intelligently merge Tailwind classes without style conflicts in your Kirby templates

Template Stacks

by oweb studio

Template stacks allows you to push to named stacks which can be rendered somewhere else in another snippet or template.

Type Methods

by hana+nils

Type Methods is a plugin helping to identify the type of an object, either page, user or file, in order to simplify logic in snippets that …