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

1.1.0 2019-09-17 10:12 UTC

This package is auto-updated.

Last update: 2024-04-17 21:01:16 UTC


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