fxdsp / yii2-requirements
An extension to manage requirements in an yii2 project
Installs: 8
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:yii2-module
Requires
- yiisoft/yii2: *
This package is not auto-updated.
Last update: 2025-01-18 21:58:19 UTC
README
Requirements
============
An extension to manage requirements in an yii2 project
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist fxdsp/yii2-requirements "*"
or add
"fxdsp/yii2-requirements": "*"
to the require section of your composer.json
file.
Migration
You'll found migration for MySQL
in fxdsp/yii2-requirements/migrations
Copy paste migrations in you own migrations project folder and run
php yii migrate
Or run directly migrate command with specific --migrationPath
option
php yii migrate --migrationPath=app\vendor\fxdsp\yii2-requirements\migrations
Usage
Once the extension is installed, simply use it in your code by :
<?= \fxdsp\requirements\AutoloadExample::widget(); ?>```