dev-master
9999999-devAn extension to manage requirements in an yii2 project
GNU GENERAL PUBLIC LICENSE
The Requires
by FX
yii2 module requirements management
Wallogit.com
2017 © Pedro Peláez
An extension to manage requirements in an yii2 project
Requirements, (*1)
============, (*2)
An extension to manage requirements in an yii2 project, (*3)
Installation, (*4)
The preferred way to install this extension is through composer., (*5)
Either run, (*6)
php composer.phar require --prefer-dist fxdsp/yii2-requirements "*"
or add, (*7)
"fxdsp/yii2-requirements": "*"
to the require section of your composer.json file., (*8)
Migration, (*9)
You'll found migration for MySQL in fxdsp/yii2-requirements/migrations, (*10)
Copy paste migrations in you own migrations project folder and run, (*11)
php yii migrate
Or run directly migrate command with specific --migrationPath option, (*12)
php yii migrate --migrationPath=app\vendor\fxdsp\yii2-requirements\migrations
Usage, (*13)
Once the extension is installed, simply use it in your code by :, (*14)
```php, (*15)
= \fxdsp\requirements\AutoloadExample::widget(); ?>```, (*16)
An extension to manage requirements in an yii2 project
GNU GENERAL PUBLIC LICENSE
yii2 module requirements management