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

Installs: 435

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:yii2-extension

dev-master 2018-01-30 10:09 UTC

This package is not auto-updated.

Last update: 2024-04-22 05:40:05 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
              ]
        ]
    ]
]