Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zacksleo/yii2-rom-release
yii2 rom release module
https://github.com/zacksleo/yii2-rom-release
yii2 yii2-extension yii2-modules yii2-rom-release
Last synced: about 1 month ago
JSON representation
yii2 rom release module
- Host: GitHub
- URL: https://github.com/zacksleo/yii2-rom-release
- Owner: zacksleo
- Created: 2017-07-24T05:50:57.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-08-18T14:21:31.000Z (over 7 years ago)
- Last Synced: 2024-09-27T14:21:01.367Z (about 2 months ago)
- Topics: yii2, yii2-extension, yii2-modules, yii2-rom-release
- Language: PHP
- Size: 1.67 MB
- Stars: 3
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# yii2-rom-release
yii2 rom release module[![Latest Stable Version](https://poser.pugx.org/zacksleo/yii2-rom-release/version)](https://packagist.org/packages/zacksleo/yii2-rom-release)
[![Total Downloads](https://poser.pugx.org/zacksleo/yii2-rom-release/downloads)](https://packagist.org/packages/zacksleo/yii2-rom-release)
[![License](https://poser.pugx.org/zacksleo/yii2-rom-release/license)](https://packagist.org/packages/zacksleo/yii2-rom-release)
[![styleci](https://styleci.io/repos/98153638/shield)](https://styleci.io/repos/98153638)
[![Build Status](https://travis-ci.org/Graychen/yii2-rom-release.svg?branch=master)](https://travis-ci.org/Graychen/yii2-rom-release)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/Graychen/yii2-rom-release/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/Graychen/yii2-rom-release/?branch=master)
[![Code Coverage](https://scrutinizer-ci.com/g/Graychen/yii2-rom-release/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/Graychen/yii2-rom-release/?branch=master)
[![Build Status](https://scrutinizer-ci.com/g/Graychen/yii2-rom-release/badges/build.png?b=master)](https://scrutinizer-ci.com/g/Graychen/yii2-rom-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/romrelease/migrations',
],
],
],```
### Run migration by By migrationPath Parameter
```
./yii migrate --migrationPath=@zacksleo/yii2/romrelease/migrations```
## Config Module in components part
```
'rom-release' => [
'class' => 'zacksleo\yii2\romrelease\Module',
]```