Skip to content

Latest commit

 

History

History
80 lines (61 loc) · 1.73 KB

README.md

File metadata and controls

80 lines (61 loc) · 1.73 KB

Module for SkeekS CMS

Latest Stable Version

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist v3toys/skeeks "*"

or add

"v3toys/skeeks": "*"

Configuration app

'components' =>
[
    'dbV3project' => [
        'class' => 'yii\db\Connection',
        'dsn' => 'pgsql:host=db.v3project.ru;port=5432;dbname=v3toys_ru',
        'username' => 'username',
        'password' => 'password',
        'charset' => 'utf8',
    ],
        
    'v3toysApi' =>
    [
        'class' => 'v3toys\yii2\api\Api'
    ],

    'v3toysSettings' =>
    [
        'class' => 'v3toys\skeeks\components\V3toysSettings'
    ],

    'i18n' =>
    [
        'translations' =>
        [
            'v3toys/skeeks' =>
            [
                'class'             => 'yii\i18n\PhpMessageSource',
                'basePath'          => '@v3toys/skeeks/messages',
                'fileMap' => [
                    'v3toys/skeeks' => 'main.php',
                ],
            ]
        ]
    ],
],

'modules' =>
[
    'v3toys' =>
    [
        'class'                 => 'v3toys\skeeks\V3toysModule',
    ]
]

skeeks!
SkeekS CMS (Yii2) — quickly, easily and effectively!
skeeks.com | en.cms.skeeks.com | cms.skeeks.com | marketplace.cms.skeeks.com