kyosifov/wpemerge-magic
Composer 安装命令:
composer require kyosifov/wpemerge-magic
包简介
CLI Tool for WPEmerge with flavor.
README 文档
README
Questions:
-
What is this for? WPEmerge magic cli tool is useful for automatically initialize WPEmerge in you WordPress projects. Commands to create templates(controllers or views).
-
Why create this when there is wpemerge-cli I was thinking about that aswell, but i found that documentation for cli is in start theme. And as you can still include wp-cli to your project. I think that WPEmerge Magic stands out with it's init command where it automatically initialize a WPEmerge project without you doing much configuration
How To initialize a project
- Run
composer require KaloyanYosifov/wpemerge-magic. - Run
./vendor/bin/magic init. - Go to your
functions.phpfile and add on top of it:require_once __DIR__ . DIRECTORY_SEPARATOR . 'app' . DIRECTORY_SEPARATOR . 'bootstrap.php';
统计信息
- 总下载量: 16
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 7
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-11-02