insolita / yii2-extensionci
Advanced Gii extension generator with travis-ci and test skeleton
Installs: 13
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Open Issues: 0
Type:yii2-extension
Requires
- yiisoft/yii2-gii: 2.0.*
This package is auto-updated.
Last update: 2024-10-18 02:48:12 UTC
README
provide extension with test skeleton adapted for travis-ci default template - with codeception unit only functional template also include functional suite and travis configuration
Installation
add
"insolita/yii2-extensionci": "~0.0.1"
to the require-dev section of your composer.json
file.
Usage
register in gii configuration
$config['modules']['gii'] = [
'class' => 'yii\gii\Module',
'generators' => [
...
'extensionci'=>[
'class'=>\insolita\extensionci\ExtGenerator::class,
]
]
];
After generation - put extension code in directory "src", modify tests\config files for include needed configuration Check .travis.yml and comment or uncomment neccessary database and migrations