2017 © Pedro Peláez
 

library yii2-user-switch

Sky User Switch Quick Login User

image

sky/yii2-user-switch

Sky User Switch Quick Login User

  • Thursday, April 12, 2018
  • by rockman84
  • Repository
  • 1 Watchers
  • 0 Stars
  • 4 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

yii2-user-switch

package for quick easy login when do development, (*1)

Install Package

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

or add in composer.json, (*2)

"sky/yii2-user-switch" : "*"

How To Use

add at config file config/web.php or common/config/main.php, (*3)

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

then go to http://sitename.com/userswitch or http://sitename.com?r=userswitch depend on your urlmanager settings, (*4)

Configuration

  • gridColumns
  • dataProvider
  • ipAllow
  • likeAttributes

Example

[
  'modules' => [
    'userswicth' => [
      'class' => 'sky\userswitch\Module',
      'gridColumns' => ['id', 'username', 'email'],
      'likeAttributes' => ['email'],
    ],
  ]
]

The Versions

12/04 2018

dev-master

9999999-dev https://github.com/rockman84

Sky User Switch Quick Login User

  Sources   Download

Apache-2.0 Apache

The Requires

 

12/04 2018

v1.0

1.0.0.0 https://github.com/rockman84

Sky User Switch Quick Login User

  Sources   Download

Apache-2.0

The Requires