NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #798 most downloaded on Packagist
Automatic multi-tenancy for your Laravel application.
Latest stable
v3.10.1
Last release 3 months ago
05 Aug 2026
Release timing varies
gaps range from 8 days to 12 months
Nearly every release is documented
notes for 56 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
94 releases · first in 2019
Drag across the ruler to compare, or tap a release to open it.
[3.x] Laravel 13.24 support (backport #1476) by @stancl in https://github.com/archtechx/tenancy/pull/1477
Full Changelog: https://github.com/archtechx/tenancy/compare/v3.10.0...v3.10.1
[3.x] Add MariaDB database manager config by @jaulz in https://github.com/archtechx/tenancy/pull/1345
Full Changelog: https://github.com/archtechx/tenancy/compare/v3.9.1...v3.10.0
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Fix: Invalidate resolver cache on delete by @stancl in https://github.com/archtechx/tenancy/pull/1328
Full Changelog: https://github.com/archtechx/tenancy/compare/v3.9.0...v3.9.1
[Refactor] Remove unreachable code after exception by @mjasnaashari in https://github.com/archtechx/tenancy/pull/1271
Full Changelog: https://github.com/archtechx/tenancy/compare/v3.8.5...v3.9.0
Make Cache::tags() support named parameters (fix https://github.com/archtechx/tenancy/issues/1256) https://github.com/archtechx/tenancy/commit/ed02943
Full Changelog: https://github.com/archtechx/tenancy/compare/v3.8.4...v3.8.5
Fix https://github.com/archtechx/tenancy/issues/1223 - Vite regression introduced on Laravel 9 in v3.8.3
Full Changelog: https://github.com/archtechx/tenancy/compare/v3.8.3...v3.8.4
Bring back assetPathResolver closure if set in Tenancy Vite Facade by @bbredewold in https://github.com/archtechx/tenancy/pull/1221
Full Changelog: https://github.com/archtechx/tenancy/compare/v3.8.2...v3.8.3
This updates the TSP stub per https://github.com/archtechx/tenancy/pull/1180#issuecomment-1994914553.
This updates the TSP stub per https://github.com/archtechx/tenancy/pull/1180#issuecomment-1994914553.
Full Changelog: https://github.com/archtechx/tenancy/compare/v3.8.1...v3.8.2
Fixes RedisCluster constants deprecation in PHPRedis 6. by @lucasromanojf in https://github.com/archtechx/tenancy/pull/1208
Full Changelog: https://github.com/archtechx/tenancy/compare/v3.8.0...v3.8.1
This release adds Laravel 11 support.
This release adds Laravel 11 support.
Full Changelog: https://github.com/archtechx/tenancy/compare/v3.7.4...v3.8.0
Forget tenant route parameter when resolving a tenant from cache using the PathTenantResolver https://github.com/archtechx/tenancy/commit/8db27a358ef7
Full Changelog: https://github.com/archtechx/tenancy/compare/v3.7.3...v3.7.4
Add step option to migrate-fresh command by @massiws in https://github.com/archtechx/tenancy/pull/1164
Full Changelog: https://github.com/archtechx/tenancy/compare/v3.7.2...v3.7.3
## Changes - Fix #1143 (https://github.com/archtechx/tenancy/commit/caf2267a085dd8ff0c566b3540bbe94f7a89a4cb) Full Changelog: https://github.com/archt
Full Changelog: https://github.com/archtechx/tenancy/compare/v3.7.1...v3.7.2
Typo in PHPdoc by @ChrisThompsonTLDR in https://github.com/archtechx/tenancy/pull/1106
$path validation in TenantAssetsController https://github.com/archtechx/tenancy/commit/4af70d302ffcf19306cc16009bd94162f3743ca7 (original: https://github.com/archtechx/tenancy/pull/1121)Full Changelog: https://github.com/archtechx/tenancy/compare/v3.7.0...v3.7.1
Support for Laravel 8 and below is also dropped in this release, as those Laravel versions do not receive security fixes
Full Changelog: https://github.com/archtechx/tenancy/compare/v3.6.1...v3.7.0
Cache crash fix for 3.x by @lukinovec in https://github.com/archtechx/tenancy/pull/1048
3.x by @lukinovec in https://github.com/archtechx/tenancy/pull/1048Full Changelog: https://github.com/archtechx/tenancy/compare/v3.6.0...v3.6.1
fix: typo mistake on config.php by @anburocky3 in https://github.com/archtechx/tenancy/pull/954
Full Changelog: https://github.com/archtechx/tenancy/compare/v3.5.9...v3.6.0
Add support for nested tenant config override by @rootgog in https://github.com/archtechx/tenancy/pull/920
Full Changelog: https://github.com/archtechx/tenancy/compare/v3.5.8...v3.5.9
Add space after 'up' in 'docker-compose up-d' (CONTRIBUTING.md) by @lukinovec in https://github.com/archtechx/tenancy/pull/900
Full Changelog: https://github.com/archtechx/tenancy/compare/v3.5.7...v3.5.8
[3.x][Filesystem] Provide an additional argument for tenant name path by @vstyler96 in https://github.com/archtechx/tenancy/pull/817
Full Changelog: https://github.com/archtechx/tenancy/compare/v3.5.6...v3.5.7
[3.x] Update PostgreSQLSchemaManager to set correct config key value by @nthndnn in https://github.com/archtechx/tenancy/pull/840
Full Changelog: https://github.com/archtechx/tenancy/compare/v3.5.5...v3.5.6
Laravel 9 support for JobRetryRequested listener by @bonroyage in https://github.com/archtechx/tenancy/pull/836
Full Changelog: https://github.com/archtechx/tenancy/compare/v3.5.4...v3.5.5
Merge hotfix branch by @stancl in https://github.com/archtechx/tenancy/pull/834
Full Changelog: https://github.com/archtechx/tenancy/compare/v3.5.3...v3.5.4
Full Changelog: https://github.com/archtechx/tenancy/compare/v3.5.2...v3.5.3 ## Fixes - PHP < 7.4 support #827
Full Changelog: https://github.com/archtechx/tenancy/compare/v3.5.2...v3.5.3
Fix .env loading in development by @erikgaal in https://github.com/archtechx/tenancy/pull/799
$forceRefresh to QueueTenancyBootstrapper in #790Full Changelog: https://github.com/archtechx/tenancy/compare/v3.5.1...v3.5.2
Remove redundant initialization by @stein-j in https://github.com/archtechx/tenancy/pull/775
Full Changelog: https://github.com/archtechx/tenancy/compare/v3.5.0...v3.5.1
This release should fix the issue outlined in our docs:
Feature release.
This release should fix the issue outlined in our docs:
Note: You cannot inject model instances with the
SerializesModelstrait, because it tries to hydrate the models before thetenantconnection is created. Inject model ids instead and usefind()in the handle method.
I rewrote most of the logic of the QueueTenancyBootstrapper and added several new queue tenancy-related tests. The bootstrapper should now support injecting entire models in jobs. On top of that, queues should be easy to test (using calls like $this->artisan('queue:work')) since the bootstrapper has additional logic to improve testing DX.
queue:retry is now supported https://github.com/archtechx/tenancy/issues/762Full Changelog: https://github.com/archtechx/tenancy/compare/v3.4.6...v3.5.0
Use GitHub forms for issues template. by @abrardev99 in https://github.com/archtechx/tenancy/pull/755
Patch release.
Full Changelog: https://github.com/archtechx/tenancy/compare/v3.4.5...v3.4.6
Patch release. ## Fixes - #745 Add missing import for Domain model in the service provider
Patch release.
Patch release. ## Fixes - #633 broke postgres, so we added a method to get the key type when incrementing IDs are used ## Added - #636 ability to disa
Patch release.
Cached lookup was not setting $currentDomain #633
Patch release.
Compatibility with new Laravel release
Compatibility with new Laravel release
Makes the universal middleware group name configurable #581
Mini feature release.
Makes the universal middleware group name configurable #581
Feature release. ## Added - PHP 8 support #542
Feature release.
tenancy()->central() helper to execute a callback in the central context from anywhere #487
Feature release.
tenancy()->central() helper to execute a callback in the central context from anywhere #487tenants:list when not using domains #504Application instead of the concrete classOnly bind UUID generator if one is specified in config #493
Patch release.
Laravel 8 support #491 (thanks @andresayej!)
Feature release.
Reverse middleware order before prepend #479
Patch release.
prepend #479Allows tenants to be initalized with their IDs #473 #474
Subdomain identification middleware now works with universal routes
Patch release.
Qualify tenant_id column https://github.com/stancl/tenancy/pull/467
tenant_id column https://github.com/stancl/tenancy/pull/467Nothing published for this version
Nothing published for this version
Nothing published for this version
HasDataColumn has been extracted into stancl/virtualcolumn & added extra features
Feature release.
HasDataColumn has been extracted into stancl/virtualcolumn & added extra featureshttps://tenancyforlaravel.com/docs/v3/upgrading
https://tenancyforlaravel.com/docs/v3/upgrading
https://tenancyforlaravel.com/docs/v3
https://tenancyforlaravel.com/docs/v3
Nothing published for this version
Cast $value to string before instantiating exception
Patch release.
$value to string before instantiating exceptionSet config() root too in FilesystemTenancyBootstrapper
Patch release.
config() root too in FilesystemTenancyBootstrapperPatch release. ## Fixes v2.3.8 used the wrong branch
Patch release.
v2.3.8 used the wrong branch
Use CASCADE when deleting PostgreSQL schemas #418
Patch release.
CASCADE when deleting PostgreSQL schemas #418Correctly use initialized instead of initialized() in TelescopeTags feature #373 #372
Patch release.
initialized instead of initialized() in TelescopeTags feature #373 #372TelescopeTags feature now doesn't throw an exception when there's no Route instance https://github.com/stancl/tenancy/commit/94e647c9525ad569054bf40ec
Patch release.
TelescopeTags feature now doesn't throw an exception when there's no Route instance https://github.com/stancl/tenancy/commit/94e647c9525ad569054bf40ece20e44e45dd0544 https://github.com/stancl/tenancy/issues/346#issuecomment-618758605The config file has been made much more understandable by adding lots of comments.
Patch release.
--force seeder param in production #367 #368Fix getTenantIdByDomain() return type #350 #349
Patch release.
Pass $request and $next to onFail closures https://github.com/stancl/tenancy/commit/b441d789b6865ff467069a8f4f703e223278e4a6
Patch release.
Package middleware now returns the return values of onFail() callbacks #340
Patch release.
onFail() callbacks #340TenantAwareCommands now return proper exit codes #333 #336
Patch release.
ramsey/uuid v4config('tenancy.seeder_params') using CLI params when running tenants:seed #329More identification middleware #323
Feature release.
tenants:seed now respects seeder parameters from tenancy config #317 #307One column per quarter.