定制 adamkiss/kirby-view 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

adamkiss/kirby-view

最新稳定版本:0.1.1

Composer 安装命令:

composer require adamkiss/kirby-view

包简介

Tempest View template engine for Kirby CMS

README 文档

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

统计信息

  • 总下载量: 4
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-11-10

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固