dmitriyha/yii2-advanced-template-init
Composer 安装命令:
composer require dmitriyha/yii2-advanced-template-init
包简介
Console utility to initialize and reinitialze a Yii2 application
README 文档
README
This component is an open sourcing of a personal tool for instantiating the local variables of a Yii2 application that uses the advanced template. This tool is meant to be used in a cli environment only.
Usage
Include the following in your composer.json
"dmitriyha/yii2-advanced-template-init":"v0.0.*"
You will also be required to add this to your console config main.php, as this is a CLI only feature:
...
'modules' => [
...
'dmitriyha' => [
'class' => 'dmitriyha\Yii2AdvancedTemplateInit\Module',
],
...
],
...
From CLI
Invoke the tool by calling
./yii dmitriyha/environment/{target environment}
currently supported environments are prod and dev
统计信息
- 总下载量: 5
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2017-11-14