1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 13:14:05 +00:00
Automatic multi-tenancy for Laravel. No code changes needed. https://tenancyforlaravel.com
Find a file
Nathan Daly 45e0aad091
Update UserImpersonation.php
This PR adds a new session value `tenancy_impersonated_by` in the tenant scope when you are impersonating a tenant.

This is similar to how Laravel Nova adds the `nova_impersonated_by` session value and could be used to identify when you are impersonating, who is impersonating. This may be useful for additional application logic and UI niceties such as an impersonation banner.
2022-08-13 00:09:47 +01:00
.github exclude master from CI 2022-06-01 15:35:39 +02:00
art Update artwork 2020-06-09 15:36:47 +02:00
assets Add a note about 'tenant' connection being reserved (fixes #774) 2022-01-06 16:57:01 +01:00
src Update UserImpersonation.php 2022-08-13 00:09:47 +01:00
tests Fix ArgumentCountError on the TenantAssetsController (#894) 2022-07-20 21:35:33 +02:00
.gitattributes Rewrite cached resolver logic to allow for cache invalidation logic 2020-06-02 20:10:17 +02:00
.gitignore remove docker-compose.override.yml 2022-03-23 20:58:47 +01:00
.styleci.yml risky: true 2020-08-03 14:40:54 +02:00
composer.json [3.x] Compatibility with Laravel 9 (#802) 2022-03-08 01:50:25 +01:00
CONTRIBUTING.md Add space after 'up' in 'docker-compose up-d' (#900) 2022-07-19 16:11:47 +02:00
docker-compose.yml Improve queue tenancy 2021-12-31 18:10:03 +01:00
Dockerfile fix path prefixing 2022-03-23 20:48:55 +01:00
DONATIONS.md update md files 2020-06-08 22:42:13 +02:00
LICENSE Initial commit 2019-01-17 22:24:12 +01:00
phpunit.xml Updated some docker stuff (#409) 2020-05-22 18:09:07 +02:00
README.md Update README.md 2022-05-01 12:56:25 +02:00
SUPPORT.md Update SUPPORT.md 2020-07-12 15:03:52 +02:00
test vague first draft of v3. TenantModelTest is passing 2020-05-08 04:37:43 +02:00

Tenancy for Laravel logo

Laravel 9.x Latest Stable Version GitHub Actions CI status Donate

Tenancy for Laravel — stancl/tenancy

Automatic multi-tenancy for your Laravel app.

You won't have to change a thing in your application's code.

  • ✔️ No model traits to change database connection
  • ✔️ No replacing of Laravel classes (Cache, Storage, ...) with tenancy-aware classes
  • ✔️ Built-in tenant identification based on hostname (including second level domains)

Documentation

Documentation can be found here: https://tenancyforlaravel.com/docs/v3/

The repository with the documentation source code can be found here: stancl/tenancy-docs.

Need help?

Credits