hexaua / yii2-config
Yii2 config module. With CRUD and service provider
Installs: 435
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Type:yii2-extension
pkg:composer/hexaua/yii2-config
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: 2025-10-20 12:53:14 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
]
]
]
]