Download the PHP package victoryoalli/laravel-multitenancy-impersonate without Composer
On this page you can find all versions of the php package victoryoalli/laravel-multitenancy-impersonate. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download victoryoalli/laravel-multitenancy-impersonate
More information about victoryoalli/laravel-multitenancy-impersonate
Files in victoryoalli/laravel-multitenancy-impersonate
Package laravel-multitenancy-impersonate
Short Description Laravel Multitenancy Impersonation from landlord to tenant
License MIT
Homepage https://github.com/victoryoalli/multitenancy-impersonate
Informations about the package laravel-multitenancy-impersonate
Laravel Multitenancy Impersonate
Laravel multitenancy impersonation from landlord to tenant.
This package is made to be used with Spatie Laravel Multitenancy.
This package allows you to impersonate users from a landlord (main) application into tenant applications. It generates secure, time-limited tokens that enable seamless authentication across tenant databases.
Requirements
- PHP ^8.2
- Laravel ^10.0, ^11.0 or ^12.0
- Spatie Laravel Multitenancy ^3.0 or ^4.0
Installation
You can install the package via composer:
Publish Config and Migrations
Configuration
After publishing, you can modify config/multitenancy-impersonate.php:
Usage
Landlord Controller
The Landlord controller creates the token and redirects to the tenant for automatic login.
Tenant Controller
Validates the token and logs in the specified user. The user will be redirected to the $redirect_url provided when creating the token.
Testing
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 [email protected] instead of using the issue tracker.
Credits
- Victor Yoalli
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-multitenancy-impersonate with dependencies
spatie/laravel-multitenancy Version ^2.0|^3.0|^4.0
illuminate/auth Version ^8.0|^9.0|^10.0|^11.0|^12.0|^13.0
illuminate/database Version ^8.0|^9.0|^10.0|^11.0|^12.0|^13.0
illuminate/support Version ^8.0|^9.0|^10.0|^11.0|^12.0|^13.0