archtechx/tenancy

Automatic multi-tenancy for Laravel. No code changes needed.

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 49 minutes ago
Type:Library / SDKCategory(s):Backend FrameworksWeb Development
Added to GitGenius on September 15th, 2026
Created on January 17th, 2019
Open Issues & Pull Requests: 9 (+0)
GitHub issues: Enabled
Number of forks: 489
Total Stargazers: 4,409 (+0)
Total Subscribers: 75 (+0)

Repository Insights (GitGenius)

Median issue/PR response: N/A
Mean response time: 0.1 hours
90th percentile: 0.0 hours
Tracked items: 151

Most active contributors

Sign in to see contributor activity.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 4
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 1,153 days
Stale 30+ days: 4
Stale 90+ days: 2

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • feature (33)
  • bug (32)
  • v4 (9)
  • support (6)
  • documentation (3)
  • usability (3)
  • duplicate (2)
  • help wanted (2)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

Tenancy is a Laravel package that enables automatic multi-tenancy for applications without requiring code changes. The package handles the complexity of isolating tenant data and routing requests to the correct tenant context automatically, allowing developers to build multi-tenant systems as if they were building single-tenant applications. It manages tenant identification, database isolation, and request routing transparently, eliminating the need to manually thread tenant context throughout the application codebase.

The problem it solves is the significant engineering overhead of building multi-tenant systems in Laravel. Typically, developers must manually pass tenant identifiers through their application, conditionally filter queries, manage separate databases or schemas per tenant, and ensure no data leakage between tenants. Tenancy abstracts these concerns by automatically detecting which tenant a request belongs to and applying isolation at the framework level, so developers can write application code without constantly thinking about tenancy.

Teams building SaaS products or multi-tenant platforms should consider this package if they want to reduce the boilerplate and complexity associated with tenant isolation. It suits projects where multiple customers need isolated data within a single application instance. The package is particularly valuable for teams that want to start with a multi-tenant architecture from the beginning without the usual architectural overhead, or for those migrating existing Laravel applications to multi-tenancy without extensive refactoring.

The project maintains active engagement with its community through regular issue responses and pull request reviews. Development includes consistent updates to keep the package compatible with current Laravel versions and to address reported bugs. The maintainers provide clear documentation and examples to help developers understand how to integrate the package into their workflows. The project demonstrates responsiveness to feature requests and maintains a focus on keeping the implementation straightforward so that the promise of requiring no code changes remains practical.