joy / voyager-login-as-user
This Laravel/Voyager module adds VoyagerLoginAsUser support to Voyager.
Fund package maintenance!
Patreon
Requires
- php: ^7.3|^8.0|^9.0
- illuminate/support: ^7|^8|^9|^10
- joy/voyager-core: ^1.0|^2.0|^3.0
- lab404/laravel-impersonate: ^1.7
- tcg/voyager: ^1.4|dev-1.6-l10
Requires (Dev)
- ext-pdo_sqlite: *
- ext-zip: *
- friendsofphp/php-cs-fixer: ^3.0
- guzzlehttp/guzzle: ^6.3|^7.0
- mockery/mockery: ^1.3
- orchestra/testbench: ^5.0|^6.0|^7.0|^8.0
- phpunit/phpunit: ^9.1|^10.0|^11.0
This package is auto-updated.
Last update: 2024-11-12 17:46:49 UTC
README
This Laravel/Voyager module adds VoyagerLoginAsUser support to Voyager.
By 🐼 Ramakant Gangwar.
Prerequisites
- Composer Installed
- Install Laravel
- Install Voyager
Installation
# 1. Require this Package in your fresh Laravel/Voyager project composer require joy/voyager-login-as-user # 2. Publish php artisan vendor:publish --provider="Joy\VoyagerLoginAsUser\VoyagerLoginAsUserServiceProvider" --force # 3. Add the trait Lab404\Impersonate\Models\Impersonate to your User model.
Working Example
You can try laravel demo here https://joy-voyager.kodmonk.com/admin/users.
Documentation
Find yourself stuck using the package? Found a bug? Do you have general questions or suggestions for improving the joy voyager-login-as-user? Feel free to create an issue on GitHub, we'll try to address it as soon as possible.
If you've found a bug regarding security please mail gangwar.ramakant@gmail.com instead of using the issue tracker.
Also for laravel package 404labfr/laravel-impersonate
read following documentation https://github.com/404labfr/laravel-impersonate#simple-usage
Testing
You can run the tests with:
vendor/bin/phpunit
Upgrading
Please see UPGRADING for details.
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email gangwar.ramakant@gmail.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.