User switcher is a dev tool that allow to switch between user accounts without providing passwords. This is only for development / QA purpose and will have no effect on a production environment.
composer require ...(WIP)- In
config/app.php, add the provider\Benjaminniess\UserSwitcher\UserSwitcherProvider::classto the Application Service Providers list.
- Go to
https://your-home-url/switchto/1234orhttps://your-home-url/switchto/user@email.testwhere1234is an existing user ID anduser@email.comis an existing user email. - You'll be redirected to the home page logged as the given user
- (WIP)
To run the tests, simply run this command at the root folder of your laravel installation
php artisan test packages/benjaminniess/userswitcher
- Allow configuring the user schema
- Allow enabling on specific environment (staging for example)
- Switch back when user was previously logged
- Plug to the Laravel debug bar
- Publish to packagist