maurohmartinez/bypass-login-backpack-laravel
Bypass login to test your application locally using users with different roles or by user id.
1,000
5
| Install | |
|---|---|
composer require maurohmartinez/bypass-login-backpack-laravel |
|
| Latest Version: | 1.1.4 |
| PHP: | ^8.1 |
| License: | MIT |
| Last Updated: | Dec 5, 2025 |
| Links: | GitHub · Packagist |
Maintainer: maurohmartinez
Bypass Login — Backpack for Laravel
Use a simple url to login with users having different roles to test your application locally.
⚠️ DO NOT install in production! ⚠️
Requirements
This packages depends on:
How to install
- Use composer to require this project locally
composer require maurohmartinez/bypass-login-backpack-laravel --dev
- Add in your .env file the login path relative to your project url, like this...
LOGIN_URL=admin/login
- [Optional] Publish views files if you need to customize them
php artisan vendor:publish --provider="MHMartinez\BypassLogin\app\Providers\BypassLoginServiceProvider" --tag=view
That's it!
You have now two new ways to login:
- Go to your login page, add
/bypassat the end and pick a user's role to login. - In case you just want to pass a user id, go to your login page, and add
/bypass/{id}to login.
Contact
Project Link: https://github.com/maurohmartinez/bypass-login-backpack-laravel
Credits
- Mauro Martinez Developer
- Cristian Tabacitu For creating Backpack for Laravel!
Related Packages
backpack/permissionmanager
Users and permissions management interface for Laravel 5 using Backpack CRUD.
2,169,051
568
backpack/backupmanager
Admin interface for managing backups in Backpack, on Laravel 5.2+
408,074
335
backpack/crud
Quickly build admin interfaces using Laravel, Bootstrap and JavaScript.
3,962,983
3,376
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| 1.1.4 | ^8.1 | ^10.0.0| | MIT | |
| 1.1.3 | ^8.1 | ^10.0.0| | MIT | |
| 1.1.2 | ^8.1 | ^10.0.0| | MIT | |
| 1.1.1 | ^8.1 | ^10.0.0| | MIT | |
| 1.1.0 | ^8.1 | ^10.0.0| | MIT | |
| 1.0.8 | ^8.1 | ^10.0.0 | MIT | |
| 1.0.7 | ^8.1 | ^10.0.0 | MIT | |
| 1.0.6 | ^8.1 | ^10.0.0 | MIT | |
| 1.0.5 | ^8.1 | ^10.0.0 | MIT | |
| 1.0.4 | ^8.0 | ^10.0.0 | MIT | |
| 1.0.3 | ^8.0 | ^10.0.0 | MIT | |
| 1.0.2 | ^8.0 | ^10.0.0 | MIT | |
| 1.0.1 | ^8.0 | ^10.0.0 | MIT | |
| 1.0.0 | ^8.0 | ^10.0.0 | MIT |