2017 © Pedro Peláez
 

library laravel-impersonator

Impersonate other users to assist in resolving issues

image

matthewbdaly/laravel-impersonator

Impersonate other users to assist in resolving issues

  • Sunday, November 19, 2017
  • by matthewbdaly
  • Repository
  • 2 Watchers
  • 0 Stars
  • 5 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

laravel-impersonator

Build Status Coverage Status, (*1)

Impersonate other users to assist in resolving issues, (*2)

Installation

Run the following command to install the package:, (*3)

composer require matthewbdaly/laravel-impersonator

Then just include this in your app/Http/Kernel.php in the appropriate place where you want to import the middleware:, (*4)

\Matthewbdaly\LaravelImpersonator\Http\Middleware\Impersonator::class

You can apply it globally, or only to specific routes as you wish. You will also need to add the trait Matthewbdaly\LaravelImpersonator\Eloquent\Traits\CanImpersonate to your user model to add these methods:, (*5)

  • startImpersonating($id) - start impersonating user $id
  • stopImpersonating() - stop impersonating
  • isImpersonating() - Is user impersonating or not?

The Versions

19/11 2017

dev-master

9999999-dev

Impersonate other users to assist in resolving issues

  Sources   Download

MIT

The Development Requires

laravel impersonate impersonator

19/11 2017

0.0.1

0.0.1.0

Impersonate other users to assist in resolving issues

  Sources   Download

MIT

The Development Requires

laravel impersonate impersonator