11ya/actual-user-bundle
Symfony bundle that keeps user roles and data up to date without forcing re-login. Add ActualUserInterface to your User, switch security to the provided custom user provider, and roles refresh automatically on subsequent requests.
This bundle provides an opportunity to refresh user roles after its changing without re-authentication
1. Install this bundle using composer
$ composer require 11ya/actual-user-bundle:dev-master
or add the package to your composer.json file directly.
2. Register the bundle in app/AppKernel.php
$bundles = array(
// ...
new Ilya\ActualUserBundle\IlyaActualUserBundle(),
);
How can I help you explore Laravel packages today?