Skip to content

skeeks-cms/cms-authclient

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Authorization by social networks for SkeekS CMS

Installation

The preferred way to install this extension is through composer.

Either run

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

or add

"skeeks/cms-authclient": "*"

Configuration app

'components' =>
[
    'authClientCollection' =>
    [
        'class' => 'skeeks\cms\authclient\CmsAuthClientCollection',
        'clients' => [
            //clients configs
        ]
    ],

    'authClientSettings' =>
    [
        //clients configs in a database
        'class' => 'skeeks\cms\authclient\CmsAuthClientSettings',
    ],

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

'modules' =>
[
    'authclient' => [
        'class'         => 'skeeks\cms\authclient\CmsAuthclientModule',
    ]
]

##Links


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