1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 08:24:04 +00:00
Automatic multi-tenancy for Laravel. No code changes needed. https://tenancyforlaravel.com
Find a file
Samuel Štancl dc430666ba
Add more tenant key generators (#36)
* Add RandomHexGenerator, create new namespace

* phpstan ignore

* add base64 generator

* add note about base64 being case sensitive

* docblock updates

* replace old UUIDGenerator with a class that throws an exception

* replace base64 generator with a random string generator

* Fix namespace

* Fix code style (php-cs-fixer)

* add test for the deprecated uuid generator

* update comments

---------

Co-authored-by: PHP CS Fixer <phpcsfixer@example.com>
2024-03-28 03:17:55 +01:00
.github Update SQL syntax in tests for MySQL 8 (#35) 2024-03-12 16:34:20 +01:00
art Update artwork 2020-06-09 15:36:47 +02:00
assets Add more tenant key generators (#36) 2024-03-28 03:17:55 +01:00
doctum wip 2023-04-14 17:23:19 +02:00
src Add more tenant key generators (#36) 2024-03-28 03:17:55 +01:00
tests Add more tenant key generators (#36) 2024-03-28 03:17:55 +01:00
.gitattributes Rewrite cached resolver logic to allow for cache invalidation logic 2020-06-02 20:10:17 +02:00
.gitignore Laravel 11 support + Docker improvements (#29) 2024-02-18 00:18:31 +01:00
.php-cs-fixer.php [4.x] Add command to bring the tenants up and down from maintenance and remove deprecated exception (#761) 2022-09-29 15:59:14 +02:00
composer.json Laravel 11 support + Docker improvements (#29) 2024-02-18 00:18:31 +01:00
CONTRIBUTING.md Laravel 11 support + Docker improvements (#29) 2024-02-18 00:18:31 +01:00
docker-compose-m1.override.yml Laravel 11 support + Docker improvements (#29) 2024-02-18 00:18:31 +01:00
docker-compose.yml Fix #1112 - throw an exception if DATABASE_URL is set (#9) 2023-08-18 20:21:00 +02:00
Dockerfile Laravel 11 support + Docker improvements (#29) 2024-02-18 00:18:31 +01:00
DONATIONS.md update md files 2020-06-08 22:42:13 +02:00
INTERNAL.md Laravel 11 support + Docker improvements (#29) 2024-02-18 00:18:31 +01:00
LICENSE Initial commit 2019-01-17 22:24:12 +01:00
phpstan.neon Add more tenant key generators (#36) 2024-03-28 03:17:55 +01:00
phpunit.xml Laravel 11 support + Docker improvements (#29) 2024-02-18 00:18:31 +01:00
README.md update laravel version 2023-04-24 22:02:32 +02:00
SUPPORT.md update channel name 2022-09-29 16:49:12 +02:00
t Laravel 11 support + Docker improvements (#29) 2024-02-18 00:18:31 +01:00
test Laravel 11 support + Docker improvements (#29) 2024-02-18 00:18:31 +01:00

Tenancy for Laravel logo

Laravel 10.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