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 with minimal code changes. Supports tenant identification by hostname (including second-level domains) and avoids swapping core classes or adding model traits. Ideal for SaaS apps needing seamless tenant isolation.

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.
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle
atriumphp/atrium
sandermuller/package-boost-laravel
sandermuller/boost-skills
redaxo/core
yusufgenc/filament-api-forge
l3aro/rating-star-for-filament
leek/filament-subtenant-scope