moinframe/kirby-panel-menu
Composer 安装命令:
composer require moinframe/kirby-panel-menu
包简介
A fluent, chainable PHP class for managing Kirby CMS panel menu entries.
README 文档
README
Kirby Panel Menu is a plugin that adds a fluent, chainable PHP class for managing Kirby CMS panel menu entries with support for pages, sites, UUIDs, dialogs, drawers, and active state management.
Installation
Via Composer:
composer require moinframe/kirby-panel-menu
As git submodule:
git submodule add https://github.com/moinframe/kirby-panel-menu.git site/plugins/panel-menu
Or download and place in site/plugins/panel-menu/.
Quick Start
return [ 'panel' => [ 'menu' => function ($kirby) { return panelMenu($kirby) ->site() ->separator() ->page('Blog', 'blog', ['icon' => 'book']) ->page('Projects', 'projects', ['icon' => 'briefcase']) ->separator() ->area('users') ->area('system') ->toArray(); } ] ];
Documentation
Full documentation is available at moinfra.me/docs.
Requirements
- Kirby CMS 4 / 5
- PHP 8.0+
License
MIT
统计信息
- 总下载量: 643
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 5
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-03-24