- Laravel 11.x support (thanks to erikn69, [#195](https://github. com/404labfr/pull/195))
- Laravel 10.x support (thanks to freekmurze, [#175](https://github. com/404labfr/pull/175))
- Laravel 9.x support (thanks to freekmurze, #149)
- Supports for PHP 8.0 (thanks to pascalbaljet, #121)
- getImpersonator() when working with multiple guards (thanks to carsso), #120)
- Can't leave impersonation when multi-guard is used (thanks to ctf0, #116)
- Allow guard name in blade directives (thanks to ctf0, #115)
- Documentation about multi-guard usage (thanks to ctf0, #117)
- composer.lock
- Laravel 8.x support
ImpersonateManager@findUserById
will now throw aMissingUserProvider
exception when guard has no user provider baa722bImpersonateManager@findUserById
will now throw aInvalidUserProvider
exception when guard has an invalid user provider baa722b
- Helper
can_be_impersonated
now use modelgetAuthIdentifier()
instead of hardcodedid
column #105 - Git attributes #108
- Laravel 7.x support
- Laravel 5.x support
- Use
Illuminate\Contracts\Auth\Authenticatable@getAuthIdentifier
instead ofIlluminate\Database\Eloquent\Model@getKey
#96 - PHPDoc updated
- Events uses
Illuminate\Contracts\Auth\Authenticatable
instead ofIlluminate\Database\Eloquent\Model
#92 - PHPDoc and return values for
ImpersonateManager
- Security issue for
symfony/http-foundation
(CVE-2019-18888)
can_impersonate()
helper- Tests for Blade directives
is_impersonating()
,can_impersonate()
andcan_be_impersonated()
helpers
- Blade directives now use helpers
- Laravel 6.0 dependencies compatibility
- dump() in ImpersonateManager.php
- Allows impersonation through multiple guards (Pull 58)
- Added the public method
getImpersonator
toImpersonateManager
(Pull 69)
- Laravel 6.0 compatibility (min version is 5.8)
- The user
remember_token
is now preserved (Pull 71)
- Laravel 5.8 compatibility (min version)
- Documentation
- Use
getSessionKey()
intake()
method
- Register Blade directives after resolving
- Blade directives documentation
- PHP version requirement
- Laravel version requirement
- Laravel 5.5 compatibility
- Package auto-discovery
- Custom Session guard driver based on the original Session Guard (c76bb96)
- The Auth events
login
,authenticated
andlogout
are not fired anymore when taking or leaving impersonation
- The user remember token is not touched when taking and leaving impersonation (#11)
- New blade directive
canBeImpersonated
(#12)