Download the PHP package bizhub/impersonate without Composer
On this page you can find all versions of the php package bizhub/impersonate. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download bizhub/impersonate
More information about bizhub/impersonate
Files in bizhub/impersonate
Download bizhub/impersonate
More information about bizhub/impersonate
Files in bizhub/impersonate
Vendor bizhub
Package impersonate
Short Description Impersonate a Laravel user
License MIT
Homepage http://bizhub.co.nz
Package impersonate
Short Description Impersonate a Laravel user
License MIT
Homepage http://bizhub.co.nz
Please rate this library. Is it a good library?
Informations about the package impersonate
Impersonate a Laravel user
Authenticate as another user while maintaining previous authentication.
This works by using Laravels Auth::onceUsingId()
feature where you can authenticate
as a user for that request only. A middleware will check if you're impersonating via a session variable
and activate Auth::onceUsingId()
for every request until you stop impersonating.
Installation
1. Composer
Execute the following command to get the latest version of the package:
2. Laravel
Add CheckIfImpersonating
middleware to app\Http\Kernel.php
Add CanImpersonate
trait to your User
model
Usage
All versions of impersonate with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.6.4
The package bizhub/impersonate contains the following files
Loading the files please wait ....