awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
archtechx avatar

archtechx/tenancy

0
View on GitHub↗

Tenancy

Tenancy is a PHP package that provides multi-tenant architecture for Laravel applications, automatically isolating data and operations per tenant. It identifies the active tenant from the incoming request's hostname, including support for second-level domains, and scopes all database queries, cache, and storage to that tenant without requiring manual filtering or model trait modifications.

The package automatically detects the current tenant from the request context and sets it for the session, ensuring each tenant sees only its own data. It also supports running background jobs that are scoped to a single tenant, keeping job data and side effects isolated from other tenants.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI
tenancyforlaravel.com
↗

Features

  • Hostname-Based Tenant Identifiers - Identifies the active tenant from the request hostname, including second-level domain support.
  • Request-Based Tenant Detectors - Detects the current tenant from the request context and sets it for the session.
  • Automatic Query Scoping - Automatically isolates database queries and storage per tenant without manual filtering.
  • Automatic Request Scoping - Automatically scopes all database queries, cache, and storage to the current tenant per request.
  • Tenant-Scoped Job Executions - Executes background tasks scoped to a single tenant, keeping job data and side effects isolated.
4,274 stars·485 forks·PHP·mit·18 views

Star history

Star history chart for archtechx/tenancyStar history chart for archtechx/tenancy

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

Projects sharing features with Tenancy

These projects share indexed features with Tenancy. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • stancl/tenancystancl avatar

    stancl/tenancy

    4,357View on GitHub↗

    Tenancy is a multi-tenancy framework for Laravel applications designed to support SaaS architectures. It provides a comprehensive system for implementing tenant data isolation, allowing developers to choose between dedicated multi-database schemas or single-database scoping via traits. The project distinguishes itself through a robust resource isolation model that extends beyond the database to include filesystems, Redis stores, and caches. It features an event-driven lifecycle orchestrator for automating tenant provisioning and a flexible identification middleware that resolves tenants via d

    PHP
    View on GitHub↗4,357

Frequently asked questions

What does archtechx/tenancy do?

Tenancy is a PHP package that provides multi-tenant architecture for Laravel applications, automatically isolating data and operations per tenant. It identifies the active tenant from the incoming request's hostname, including support for second-level domains, and scopes all database queries, cache, and storage to that tenant without requiring manual filtering or model trait modifications.

What are the main features of archtechx/tenancy?

The main features of archtechx/tenancy are: Hostname-Based Tenant Identifiers, Request-Based Tenant Detectors, Automatic Query Scoping, Automatic Request Scoping, Tenant-Scoped Job Executions.

Which projects share features with archtechx/tenancy?

Projects with overlapping indexed features include: stancl/tenancy — Tenancy is a multi-tenancy framework for Laravel applications designed to support SaaS architectures. It provides a…