johannschopplich/kirby-headless
最新稳定版本:6.0.0
Composer 安装命令:
composer require johannschopplich/kirby-headless
包简介
Kirby CMS plugin to enable headless mode
关键字:
README 文档
README
Kirby Headless
This plugin is designed for developers who want to use Kirby's backend to serve content to a frontend application, static site generator, or mobile application. You can either add headless functionality to your existing Kirby site, or use this plugin to build a headless-first CMS from scratch.
Note
Check out to the Kirby Headless Starter repository for a ready-to-use headless-only setup!
Key Features
- 🧩 Optional bearer token authentication for KQL and custom API endpoints
- 🧱 Resolve fields in blocks: UUIDs to file and page objects or any other field
- ⚡️ Cached KQL queries
- 🌐 Multi-language support for KQL queries
- 🍢 Express-esque API builder with middleware support
- 🗂 Return JSON from templates instead of HTML
Compatibility
The current version of Kirby Headless is compatible with Kirby 4 and 5.
Installation
Tip
Composer
The recommended way to install the plugin is via Composer. To install the plugin, run the following command in your terminal:
composer require johannschopplich/kirby-headless
Download
Head over to the releases page and download the latest version of the plugin as a ZIP file. Extract the contents of this ZIP file to your site/plugins folder. It should look like this:
site/plugins/
├─ kirby-headless/
│ └─ … Plugin files
Usage
Tip
License
MIT License © 2022-PRESENT Johann Schopplich
统计信息
- 总下载量: 12.73k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 42
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-12-28
