mixerapi/bake
最新稳定版本:v2.0.4
Composer 安装命令:
composer require mixerapi/bake
包简介
A bake template for RESTful CakePHP controllers
README 文档
README
Bake RESTful CakePHP controllers in seconds with this API focused bake template. Read more at MixerAPI.com.
Installation
!!! note "" You can skip this step if MixerAPI is installed.
composer require mixerapi/bake bin/cake plugin load MixerApi/Bake
Alternatively after composer installing you can manually load the plugin in your Application:
# src/Application.php public function bootstrap(): void { // other logic... $this->addPlugin('MixerApi/Bake'); }
Usage
MixerApi/Bake will automatically detect the following plugins and adjust the bake output accordingly:
Add --theme MixerApi/Bake to your bake commands.
Bake all your controllers:
bin/cake bake controller all --theme MixerApi/Bake
Bake a single controller:
bin/cake bake controller {ControllerName} --theme MixerApi/Bake
Bake everything (theme only impacts controllers):
bin/cake bake all --everything --theme MixerApi/Bake
统计信息
- 总下载量: 65.09k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-08-11