sky/yii2-user-switch Sky User Switch Quick Login User

yii2-user-switch

  1. Install Package
  2. How To Use
  3. Configuration

package for quick easy login when do development

Install Package

php composer.phar require sky/yii2-user-switch "*"

or add in composer.json "sky/yii2-user-switch" : "*"

How To Use

add at config file config/web.php or common/config/main.php `php [ 'modules' => [

'userswicth' => [
  'class' => 'sky\userswitch\Module'
],

] ] ` then go to http://sitename.com/userswitch or http://sitename.com?r=userswitch depend on your urlmanager settings

Configuration

  • gridColumns
  • dataProvider
  • ipAllow
  • likeAttributes
Example
[
  'modules' => [
    'userswicth' => [
      'class' => 'sky\userswitch\Module',
      'gridColumns' => ['id', 'username', 'email'],
      'likeAttributes' => ['email'],
    ],
  ]
]
1 0
1 follower
15 downloads
Yii Version: 2.0
License: Apache-2.0
Category: Auth
Developed by: rockman84
Created on: Mar 26, 2018
Last updated: (not set)
Packagist Profile
Github Repository

Related Extensions