rhino-php/rhino
最新稳定版本:2.0.16
Composer 安装命令:
composer require rhino-php/rhino
包简介
Rhino, a CMS and Application-Framework plugin for CakePHP
README 文档
README
Quick Start:
composer require rhino-php/rhino
Installation
You can install this plugin into your CakePHP application using composer. The recommended way to install composer packages is:
composer require rhino-php/rhino
(optional) after the Plugin is installed and the Application is connected to the Database, you can run the following in the root of the Application:
cp -aR vendor/coullc/rhino/skeleton/. .
bin/cake migrations migrate -p Rhino
bin/cake migrations seed -p Rhino
Create the File PagesController.php and add the following:
namespace App\Controller; use Rhino\Controller\PagesController as BaseController; class PagesController extends BaseController { public function layout(int $id) { // add Policy or other configuration parent::layout($id); } }
Access the Layout options through /pages
!Important
To Use the Layoutmode you need to enable the CakeHtmx plugin.
Development
See rhino. Clone Rhino, then Clone Rhino in the Plugins folder.
Next Up: Layoutmode Enhancment
Currently there is only an HTML input field. Depending on the Layoutelement the displayed input fields should update.
Also, after en Edit, the newly loaded element is not page aware.
统计信息
- 总下载量: 550
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-01-19