2017 © Pedro Peláez
 

library tracy-login

Allows quick login to any user account using Tracy bar panel

image

instante/tracy-login

Allows quick login to any user account using Tracy bar panel

  • Sunday, January 14, 2018
  • by amik
  • Repository
  • 1 Watchers
  • 1 Stars
  • 524 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 3 Versions
  • 22 % Grown

The README.md

Instante Tracy Login

Build Status Downloads this Month Latest stable, (*1)

Installation

The best way to install Instante Tracy Login is using Composer:, (*2)

$ composer require instante/tracy-login

Configuration

Add new extension to config (_e.g. extensions.neon_):, (*3)

extensions:
    debugLogin: Instante\Tracy\Login\DI\DebugLoginExtension

Then you should enable it in your local config. Never do that on production server!, (*4)

debugLogin:
    enabled: true

Optional configuration

Login bar natively works with Instante/skeleton doctrine user. Default User class is App\Model\User\User. You can change it in setup:, (*5)

debugLogin:
    dao:
        entity: Your\Custom\User

Or, (*6)

debugLogin:
    dao: "Instante\Tracy\Login\DoctrineUserDao(Your\Custom\User)"

You can write your own UserDao which implements IUserDao. Then you have to update setup:, (*7)

debugLogin:
    dao: "Your\Custom\Dao"

Identifier

Default identifier is 'email' so method 'getEmail()' will be called. You can change it in setup:, (*8)

debugLogin:
    identifier: "fullName"

and then 'getFullName()' will be called. But you can add as many methods as you want:, (*9)

debugLogin:
    identifier: {"email", "fullName"}

and then both, 'getEmail()' and 'getFullName()' will be called., (*10)

The Versions

14/01 2018

dev-master

9999999-dev

Allows quick login to any user account using Tracy bar panel

  Sources   Download

GPL-3.0 BSD-3-Clause GPL-2.0

The Requires

 

The Development Requires

login nette tracy instante

28/11 2016

0.1.1

0.1.1.0

Allows quick login to any user account using Tracy bar panel

  Sources   Download

GPL-3.0 BSD-3-Clause GPL-2.0

The Requires

 

The Development Requires

login nette tracy instante

27/09 2016

0.1.0

0.1.0.0

Allows quick login to any user account using Tracy bar panel

  Sources   Download

GPL-3.0 BSD-3-Clause GPL-2.0

The Requires

 

The Development Requires

login nette tracy instante