phlo/cms
最新稳定版本:v1.0.0-RC1
Composer 安装命令:
composer require phlo/cms
包简介
Turn a single model schema into a complete admin UI and JSON API: Phlo CMS generates list, record, create and edit views with fields, validation, widgets and themes.
README 文档
README
Reusable CRUD and admin layer for the Phlo framework. Define a model schema and get list, record, create and edit views, a JSON REST API, dashboard widgets, a layout and a set of themes out of the box.
Features
- Schema driven CRUD: one model definition yields list, record, create and edit views.
- Field types: text, email, password, number, bool, date, datetime, select, multiselect, parent, child, token and virtual.
- REST API: create, update, patch and delete over JSON, with CSRF protection.
- UI: dashboard, layout, widgets (bar, gauge, line, list, pie) and themes.
Requirements
- PHP 8.3 or newer
- phlo/tech
Install
composer require phlo/cms
Wire it into your Phlo app config (data/app.json):
- Add
"%app/vendor/phlo/cms/"topaths.resources. - List the CMS resources you use (for example
CMS,CMS.layout,CMS.list,CMS.API,widgets/bar) inresources. - Set
"icons"to"%app/vendor/phlo/cms/icons/".
License
MIT. See LICENSE.
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 7
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-02-20