exoodev / yii2-settings
The Settings extension for the Yii2 framework
Installs: 48
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Forks: 0
Type:yii2-extension
pkg:composer/exoodev/yii2-settings
Requires
- yiisoft/yii2: ~2.0.14
README
========================
Installation
The preferred way to install this extension is through composer.
Either run
composer require --prefer-dist exoodev/yii2-settings
or add
"exoodev/yii2-settings": "*"
to the require section of your composer.json.
Usage
Example configuration
'settings' => [
'class' => 'exoo\settings\components\Settings',
],
Example configuration for advanced template
'settings' => [
'class' => 'exoo\settings\components\Settings',
'cache' => [
'class' => 'yii\caching\FileCache',
'cachePath' => '@backend/runtime/cache',
]
],
Migration
yii migrate --migrationPath=@exoo/settings/migrations