adamkiss/kirby-view

Tempest View template engine for Kirby CMS

Installs: 1

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

Type:kirby-plugin

pkg:composer/adamkiss/kirby-view

0.1.0 2025-11-10 17:54 UTC

This package is auto-updated.

Last update: 2025-11-10 23:47:55 UTC


README

This package enables Tempest/View for your own Kirby applications.

Note

This is a very first, beta version of the plugin; I wanted to use Tempest View with Kirby, but haven't yet had time to add tests, etc. Continue on your own risk.

Installation

Installation with composer

composer require adamkiss/kirby-view

What is Tempest/View

According to Tempest internals → View specifications:

Tempest View is a server-side templating engine powered by PHP. Most of its syntax is inspired by Vue.js. Tempest View aims to stay as close as possible to HTML, using PHP where needed. All syntax builds on top of HTML and PHP so that developers don't need to learn any new syntax.

Usage

After installing the plugin, any template ending in .view.php will be automatically processed by the plugin; All the snippets ending in .view.php will be also available as tempest x- components, i.e. site/snippets/layout.php will be available as x-layout.

You can also use pure PHP snippets with View, just use the included component x-snippet:

<x-snippet name="my-snippet" argument="static" :another="'dynamic'"></x-snippet>

All the documentation about Tempest/View is in the official documentation.

Views

All the generated (cached) views are stored in {cache location}}/views directory.

Credits

Copyright & License

2025 Adam Kiss

Licensed under MIT license