Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Tenancy Laravel Package

stancl/tenancy

Automatic multi-tenancy for Laravel apps with minimal code changes. Provides tenant identification (e.g., by hostname/subdomains), isolated tenant bootstrapping, and tenancy-aware database/config switching without swapping core Laravel classes or adding model traits.

View on GitHub
Deep Wiki
Context7
v3.10.0

What's Changed

New Contributors

Full Changelog: https://github.com/archtechx/tenancy/compare/v3.9.1...v3.10.0

v3.9.1

What's Changed

New Contributors

Full Changelog: https://github.com/archtechx/tenancy/compare/v3.9.0...v3.9.1

v3.9.0

What's Changed

New Contributors

Full Changelog: https://github.com/archtechx/tenancy/compare/v3.8.5...v3.9.0

v3.8.5

Fixes

New Contributors

Full Changelog: https://github.com/archtechx/tenancy/compare/v3.8.4...v3.8.5

v3.8.4

Fixes

Full Changelog: https://github.com/archtechx/tenancy/compare/v3.8.3...v3.8.4

v3.8.3

What's Changed

New Contributors

Full Changelog: https://github.com/archtechx/tenancy/compare/v3.8.2...v3.8.3

v3.8.1

What's Changed

New Contributors

Full Changelog: https://github.com/archtechx/tenancy/compare/v3.8.0...v3.8.1

v3.8.0

This release adds Laravel 11 support.

What's Changed

Full Changelog: https://github.com/archtechx/tenancy/compare/v3.7.4...v3.8.0

v3.7.4

Fixes

Full Changelog: https://github.com/archtechx/tenancy/compare/v3.7.3...v3.7.4

v3.7.3

What's Changed

New Contributors

Full Changelog: https://github.com/archtechx/tenancy/compare/v3.7.2...v3.7.3

v3.7.0

Laravel 10 support

  • This version adds Laravel 10 support
  • Support for Laravel 8 and below is also dropped in this release, as those Laravel versions do not receive security fixes
  • The package now requires PHP 8+

What's Changed

New Contributors

Full Changelog: https://github.com/archtechx/tenancy/compare/v3.6.1...v3.7.0

v3.6.0

What's Changed

New Contributors

Full Changelog: https://github.com/archtechx/tenancy/compare/v3.5.9...v3.6.0

v3.5.9

What's Changed

New Contributors

Full Changelog: https://github.com/archtechx/tenancy/compare/v3.5.8...v3.5.9

v3.5.8

What's Changed

New Contributors

Full Changelog: https://github.com/archtechx/tenancy/compare/v3.5.7...v3.5.8

v3.5.7

What's Changed

New Contributors

Full Changelog: https://github.com/archtechx/tenancy/compare/v3.5.6...v3.5.7

v3.5.6

What's Changed

New Contributors

Full Changelog: https://github.com/archtechx/tenancy/compare/v3.5.5...v3.5.6

v3.5.5

What's Changed

New Contributors

Full Changelog: https://github.com/archtechx/tenancy/compare/v3.5.4...v3.5.5

v3.5.4

What's Changed

Full Changelog: https://github.com/archtechx/tenancy/compare/v3.5.3...v3.5.4

v3.5.3

Full Changelog: https://github.com/archtechx/tenancy/compare/v3.5.2...v3.5.3

Fixes

  • PHP < 7.4 support #827
v3.5.2

What's Changed

New Contributors

Full Changelog: https://github.com/archtechx/tenancy/compare/v3.5.1...v3.5.2

v3.5.1

What's Changed

New Contributors

Full Changelog: https://github.com/archtechx/tenancy/compare/v3.5.0...v3.5.1

v3.5.0

Feature release.

Queue tenancy

This release should fix the issue outlined in our docs:

Note: You cannot inject model instances with the SerializesModels trait, because it tries to hydrate the models before the tenant connection is created. Inject model ids instead and use find() 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.

Added

Fixed

New Contributors

Full Changelog: https://github.com/archtechx/tenancy/compare/v3.4.6...v3.5.0

v3.4.6

Patch release.

What's Changed

New Contributors

Full Changelog: https://github.com/archtechx/tenancy/compare/v3.4.5...v3.4.6

v3.4.5

Patch release.

Fixes

  • #745 Add missing import for Domain model in the service provider
v3.4.4

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 disable route registration
v3.4.3

Patch release.

Fixed

  • Cached lookup was not setting $currentDomain #633
v3.4.2

Compatibility with new Laravel release

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport