hexaua / yii2-config
There is no license information available for the latest version (dev-master) of this package.
Yii2 config module. With CRUD and service provider
dev-master
2018-01-30 10:09 UTC
Requires
- php: >=7.0
- yiisoft/yii2: ~2.0
Requires (Dev)
- codeception/aspect-mock: ~2.0.1
- codeception/codeception: ^2.2
- codeception/specify: ~0.4.5
- codeception/verify: ~0.3.1
- fzaninotto/faker: ^1.6
- phpunit/php-code-coverage: ~4.0
This package is not auto-updated.
Last update: 2026-03-09 14:26:45 UTC
README
Description here
Installation
Run command
composer require hexaua/yii2-config:*
OR add following lines to composer.json file in require section
{
"require": {
"hexaua/yii2-config": "*"
}
}
Migrations
To run migrations execute following command from project root directory
php yii migrate --migrationPath=@hexaua/yiiconfig/migrations
Usage
[
'components' => [
'config' => [
'class' => 'hexaua\yiiconfig\component\ManagerConfig',
'providerConfig' => [
'class' => 'hexaua\yiiconfig\component\providers\DbProvider',
'duration' => 3600 // Cache duration in seconds
]
]
]
]