https://github.com/zacksleo/yii2-app-release
yii2 app-release module
https://github.com/zacksleo/yii2-app-release
app-release yii2 yii2-extension
Last synced: 11 months ago
JSON representation
yii2 app-release module
- Host: GitHub
- URL: https://github.com/zacksleo/yii2-app-release
- Owner: zacksleo
- Created: 2017-06-02T04:21:19.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-11-23T11:15:00.000Z (over 8 years ago)
- Last Synced: 2024-11-13T14:55:08.111Z (over 1 year ago)
- Topics: app-release, yii2, yii2-extension
- Language: PHP
- Size: 23.4 KB
- Stars: 2
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
yii2 app-release module
[](https://packagist.org/packages/zacksleo/yii2-app-release)
[](https://packagist.org/packages/zacksleo/yii2-app-release)
[](https://packagist.org/packages/zacksleo/yii2-app-release)
[](https://styleci.io/repos/93126638)
[](https://travis-ci.org/Graychen/yii2-app-release)
[](https://scrutinizer-ci.com/g/Graychen/yii2-app-release/?branch=master)
[](https://scrutinizer-ci.com/g/Graychen/yii2-app-release/?branch=master)
[](https://scrutinizer-ci.com/g/Graychen/yii2-app-release/build-status/master)
# Usage
## Config Migration Path or Migration By migrationPath Parameter
### Config Migration Path in Yii config file like this
```
'controllerMap' => [
'migrate' => [
'class' => 'yii\console\controllers\MigrateController',
'migrationPath' => [
'@console/migrations/',
'@zacksleo/yii2/apprelease/migrations',
],
],
],
```
### Run migration by By migrationPath Parameter
```
./yii migrate --migrationPath=@zacksleo/yii2/apprelease/migrations
```
## Config Module in components part
```
'app-release' => [
'class' => 'zacksleo\yii2\apprelease\Module',
]
```