Weave 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
Multi Tenancy

Multi Tenancy Laravel Package

norvutec/multi-tenancy

Multi-tenancy for Laravel: add tenant-aware databases, models, and caching with minimal configuration. Isolate tenant data, switch connections on the fly, and keep queries scoped automatically—a lightweight toolkit for building SaaS apps where each customer gets a safe, separate space.

View on GitHub
Deep Wiki
Context7

Multi Tenancy Bundle for Symfony

Frequently asked questions about Multi Tenancy
What is norvutec/multi-tenancy used for?
It is a lightweight multi-tenancy toolkit for Laravel applications that need tenant-aware databases, models, and caching. It lets you switch tenant connections on the fly and keep queries scoped automatically so each customer gets a separate, safe space. It is aimed at SaaS apps where tenant data must be isolated with minimal configuration.
How do I install norvutec/multi-tenancy in a Laravel app?
Install it with Composer using composer require norvutec/multi-tenancy. Then check the package README for any service provider registration, configuration publishing, or environment variables you need to add. Because the provided README excerpt is empty, verify the exact setup steps on the repository before wiring it into an existing app.
Does norvutec/multi-tenancy support multiple tenant databases?
The package is described as supporting tenant-aware databases and switching connections on the fly. That means you can point each tenant at its own database connection rather than relying only on row-level filters. Review the configuration docs to confirm how connections are registered and resolved for your Laravel setup.
How does automatic query scoping work for tenant models?
The blurb says queries are kept scoped automatically for tenant-aware models, so you do not have to add tenant filters to every query manually. The provided context does not document the exact trait, interface, or global scope implementation. Check the README for the model setup and confirm how raw queries and relationships behave.
Can I use tenant-aware caching with this package?
Yes, tenant-aware caching is part of the package's stated feature set. The goal is to keep cached values separated per tenant alongside database and model isolation. Confirm the cache store configuration and key prefixing behavior in the docs before relying on it in production.
Which Laravel versions does norvutec/multi-tenancy support?
The supplied README excerpt does not list Laravel version constraints. Check the package's composer.json or Packagist page for the exact require and conflict rules before installing. For production, pin a release that matches your Laravel version and test the upgrade path.
Is norvutec/multi-tenancy suitable for a Laravel SaaS application?
It is positioned as a lightweight toolkit for SaaS apps where each customer gets a safe, separate space. The focus on tenant-aware databases, models, and caching fits common multi-tenant SaaS isolation needs. Evaluate it against your queue, migration, and provisioning workflows before committing.
How does it compare to other Laravel multi-tenancy packages?
This package emphasizes minimal configuration for tenant-aware databases, models, and caching with automatic query scoping. The provided context does not include a feature-by-feature comparison with alternatives. Compare isolation model, connection switching, cache support, and maintenance activity against your requirements.
How should I test tenant data isolation with norvutec/multi-tenancy?
Create at least two tenants in your test suite, write records under each tenant context, and assert that queries only return the current tenant's data. Also test connection switching and cache separation so a tenant cannot read another tenant's cached values. Run these tests against the same database and cache drivers you use in production.
Is norvutec/multi-tenancy a Laravel package or a Symfony bundle?
The package name and blurb describe Laravel multi-tenancy, but the repository description says Multi Tenancy Bundle for Symfony. The supplied README excerpt is empty, so the framework support is not fully documented in this context. Verify the actual Laravel or Symfony compatibility on the repository and Packagist before installing.
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.
dbravoan/dbcms-admin-theme-dbcms
dbravoan/dbcms-theme-db-cyber
dbravoan/dbcms-blocks-basic
dbravoan/dbcms-module-content-audit
dbravoan/dbcms-module-ai-assistant
paygate-to/paygate-php
padosoft/askmydocs-connector-base
defstudio/supercharged-carbon
bernskioldmedia/laravel-matomo
bernskioldmedia/laravel-harvest
bernskiold/laravel-data-scrubber
bernskiold/laravel-currency-converter
bernskiold/laravel-campaign-monitor
bernskioldmedia/laravel-autotranslate
siberfx/telegram-bot
roy-sandip/laravel-view-extended
gregsphotography/site-builder-core
roy-sandip/laravel-view
anodyne/blade-fluentui-icons
webx-ui/module-catalog-collections