maurohmartinez/bypass-login-backpack-laravel
最新稳定版本:1.1.4
Composer 安装命令:
composer require maurohmartinez/bypass-login-backpack-laravel
包简介
Bypass login to test your application locally using users with different roles or by user id.
README 文档
README
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!
统计信息
- 总下载量: 907
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 5
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-12-28