awesome-repositories.com
Blog
awesome-repositories.com

Entdecke die besten Open-Source-Repositories mit KI-gestützter Suche.

EntdeckenKuratierte SuchenOpen-Source-AlternativenSelf-hosted SoftwareBlogSitemap
ProjektÜber unsRanking-MethodikPresseMCP-Server
RechtlichesDatenschutzAGB
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
stancl avatar

stancl/tenancy

0
View on GitHub↗
4,357 Stars·486 Forks·PHP·MIT·5 Aufrufetenancyforlaravel.com↗

Tenancy

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 domains, subdomains, URL paths, or HTTP headers.

The framework covers a broad range of operational capabilities, including automated database migrations and seeding, tenant-specific configuration overrides, and background job context propagation. It also provides tools for identity isolation, such as separate OAuth clients and session scoping, as well as administrative utilities for central tenant management and routing.

The system includes telemetry and logging utilities that tag requests and queued jobs with tenant identifiers for auditing and monitoring.

Features

  • Database-Level Tenant Isolations - Assigns each tenant to a dedicated database schema to ensure complete physical separation of data.
  • SaaS Application Architectures - Provides a comprehensive architectural foundation for building SaaS applications with isolated data, filesystems, and caches.
  • Tenant-Scoped Job Executions - Initializes the tenant context automatically for background jobs to ensure they process data using correct resources.
  • Multi-Tenant Domain Managers - Maps incoming requests from subdomains or custom domains to the corresponding tenant account.
  • Tenant Resource Switching - Reconfigures database connections, cache prefixes, and filesystem paths at runtime to match the identified tenant.
  • Automated Tenant Migrations - Runs database schema updates across tenant databases using configurable default parameters.
  • Connection Configurations - Defines unique database names, credentials, and connection settings for each tenant via the tenant record.
  • Data Tenant Isolators - Provides query-level scoping via traits to restrict data access within a shared database environment.
  • Automated Database Provisioners - Automates the provisioning, migration, and isolation of dedicated databases for individual tenants.
  • Database Schema Migrations - Implements automated database migrations and seeding across all tenant-specific databases from the command line.
  • Tenant Lifecycle Managers - Provides an integrated administration interface to manage the creation, listing, and deletion of tenant records.
  • Request-Based Tenant Detectors - Determines the active tenant by analyzing domains, subdomains, or URL paths during the incoming HTTP request.
  • Tenant Identification Strategies - Resolves the active tenant by analyzing domains, subdomains, URL paths, or HTTP headers in the request.
  • Multi-Tenant Resource Isolation - Scopes caches, filesystems, and Redis stores to ensure complete resource isolation between tenants.
  • Tenant Configurations - Maps tenant-specific database attributes directly into the application configuration to allow per-tenant behavior overrides.
  • Tenant Path Isolation - Modifies storage paths and asset helpers to ensure files are stored in tenant-specific directories.
  • Tenant Storage Separation - Separates stored files and assets by tenant to ensure users only access their own resources.
  • Tenant Database Provisioning - Triggers the automatic creation of a dedicated database immediately after a new tenant is registered.
  • Tenant Context Propagation - Injects the tenant identifier into queued job payloads and restores the tenant context during background processing.
  • Tenant Lifecycle Hooks - Uses an event-based architecture to modify bootstrapping and post-creation workflows via custom listeners.
  • Session Isolations - Prevents session data from being shared across tenants by scoping storage to tenant-specific databases or Redis.
  • URL Path Identifications - Provides the capability to resolve tenant identity by parsing specific segments of the incoming request URL path.
  • Tenant Environment Bootstrappers - Uses custom bootstrapper classes to modify application state and configuration upon tenant initialization.
  • Multi-Tenancy Frameworks - A complete framework for implementing multi-tenancy in Laravel with support for multiple isolation strategies.
  • Tenant Cache Isolation - Isolates cached data by tenant to prevent cross-tenant information leakage in shared memory stores.
  • Tenant Context Propagation - Injects tenant identifiers into queued job payloads to restore the correct environment during background processing.
  • Tenant Environment Switching - Dynamically reconfigures database connections, caches, filesystems, and queues to the identified tenant's environment.
  • Tenant State Retrievals - Provides helper functions and dependency injection to access the active tenant's model and attributes.
  • Tenant Route Definitions - Registers routes that automatically apply identification middleware to isolate requests by tenant.
  • Tenant-Specific Invalidations - Enables removing cached data for specific tenants using unique tags for isolated cache clearing.
  • Cache Data Segmentations - Provides strict data isolation within Redis stores to prevent cross-tenant data leakage.
  • Session Partitioning - Blocks attempts to manipulate session cookies across tenant domains by validating the session scope.
  • Database Seeding Tools - Populates tenant databases with initial or test data using configurable seeding parameters.
  • Flexible Metadata Stores - Saves arbitrary key-value pairs into a serialized column to avoid dedicated schema changes for every attribute.
  • Cross-Tenant Query Federations - Bypasses tenant-specific scoping to retrieve data across all tenants for central administration purposes.
  • Key Prefixing Isolations - Ensures key-value data isolation by dynamically changing the Redis prefix for each tenant.
  • Per-Tenant Override APIs - Maps tenant-specific database attributes to application configuration keys for customized per-tenant settings.
  • Tenant-Scoped Model Filtering - Filters database queries using shared model traits to restrict data access in single-database environments.
  • Tenant Bootstrappers - Allows the implementation of custom bootstrapper classes to define component behavior during tenant initialization.
  • Tenant Initialization Extensions - Provides mechanisms to add custom bootstrapping logic to modify tenant-specific environment initialization.
  • Domain-Based Routing - Separates routes into central and tenant groups to ensure pages are only accessible on respective domains.
  • Tenant Authentication Isolation - Manages separate OAuth clients and encryption keys for each tenant to ensure authentication isolation.
  • Domain Access Restrictions - Validates that requests to tenant routes originate from tenant domains to block central route access.
  • Multi-Tenant Administration - Provides administrative tools to manage tenant configurations and accounts from a central application context.
  • Active Tenant State Tracking - Maintains the identity of the active tenant throughout the application lifecycle for manual resource isolation.
  • Multi-Tenant Isolation - Secures sensitive tenant data by storing attributes in custom columns with encryption casts.
  • Tenant-Scoped Token Isolation - Isolates authentication tokens and cookies across multiple tenants to ensure users remain within their specific context.
  • Event-Driven Hooks - Triggers custom business logic during tenant creation, updating, or deletion using an event-driven system.
  • Global Context Background Jobs - Runs background tasks in a global context using dedicated queue connections to prevent state leakage.
  • Manual Tenancy Initializations - Provides a way to programmatically trigger the tenant boot process to isolate resources when middleware is not applicable.
  • Tenant-Scoped Tagging - Adds tenant identifiers as tags to cache calls to scope data by tenant for selective clearing.
  • Tenant Command Execution - Provides a command-line interface to execute administrative tasks across all tenants or specific tenant subsets.
  • Tenant Context Executions - Allows running specific logic or commands within a tenant's environment before returning to the central context.
  • Tenant Lookup Caches - Stores tenant identification results in a local cache to avoid repeated expensive queries to the central database.
  • Central Route Isolations - Restricts specific routes to central domains so they cannot be reached via tenant domains.
  • General Utilities - Automates multi-tenancy implementation.

Star-Verlauf

Star-Verlauf für stancl/tenancyStar-Verlauf für stancl/tenancy

KI-Suche

Entdecke weitere awesome Repositories

Beschreibe in einfachen Worten, was du brauchst — die KI bewertet tausende kuratierte Open-Source-Projekte nach Relevanz.

Start searching with AI

Open-Source-Alternativen zu Tenancy

Ähnliche Open-Source-Projekte, sortiert nach der Anzahl der gemeinsamen Funktionen mit Tenancy.
  • thinkgem/jeesiteAvatar von thinkgem

    thinkgem/jeesite

    8,044Auf GitHub ansehen↗

    Jeesite is a full-stack low-code development framework designed for building enterprise administrative portals using Spring Boot, MyBatis, and Vue. It functions as a comprehensive platform for creating administrative dashboards with integrated role-based access control and organizational data permission systems. The framework distinguishes itself through a combination of automated CRUD code generation and an integrated RAG platform that connects large language models to enterprise data via vector stores. It further incorporates a BPMN-based workflow engine to automate complex business process

    Vue
    Auf GitHub ansehen↗8,044
  • chillzhuang/springbladeAvatar von chillzhuang

    chillzhuang/SpringBlade

    6,900Auf GitHub ansehen↗

    SpringBlade is a development framework and platform designed for building multi-tenant SaaS applications. It provides a comprehensive scaffold for both Spring Cloud microservices and monolithic Spring Boot architectures, enabling the rapid construction of enterprise-grade software. The platform distinguishes itself through integrated LLM orchestration and industrial IoT management. It features an LLM orchestration platform that combines large language models with knowledge bases and visual AI agent workflows, alongside an IoT hub for device connectivity, state synchronization, and edge flow o

    PLpgSQL
    Auf GitHub ansehen↗6,900
  • grafana/mimirAvatar von grafana

    grafana/mimir

    5,133Auf GitHub ansehen↗

    Mimir is a multi-tenant time series database and distributed metrics store designed for scalable telemetry. It serves as a Prometheus compatible backend, providing long-term storage and a scalable query engine for massive volumes of time-series data. The system is built for multi-tenant observability, isolating telemetry data and resource limits for independent teams or organizations within a single cluster. It ensures high availability and durability by sharding and replicating data across a distributed cluster, utilizing object storage for persistence to eliminate external database dependen

    Gometricsobservabilityopentelemetry
    Auf GitHub ansehen↗5,133
  • abpframework/abpAvatar von abpframework

    abpframework/abp

    14,313Auf GitHub ansehen↗

    ABP is an opinionated architectural framework for building enterprise software solutions using .NET and ASP.NET Core. It serves as a structural toolkit for implementing domain-driven design and microservices patterns, providing a modular enterprise architecture where functionality is organized into independent, pluggable modules. The platform is specifically designed to support multi-tenant SaaS architectures, isolating data and configurations for multiple independent customers within a single application instance. It provides enterprise boilerplate infrastructure and pre-configured templates

    C#abpangulararchitecture
    Auf GitHub ansehen↗14,313
Alle 30 Alternativen zu Tenancy anzeigen→

Häufig gestellte Fragen

Was macht stancl/tenancy?

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.

Was sind die Hauptfunktionen von stancl/tenancy?

Die Hauptfunktionen von stancl/tenancy sind: Database-Level Tenant Isolations, SaaS Application Architectures, Tenant-Scoped Job Executions, Multi-Tenant Domain Managers, Tenant Resource Switching, Automated Tenant Migrations, Connection Configurations, Data Tenant Isolators.

Welche Open-Source-Alternativen gibt es zu stancl/tenancy?

Open-Source-Alternativen zu stancl/tenancy sind unter anderem: thinkgem/jeesite — Jeesite is a full-stack low-code development framework designed for building enterprise administrative portals using… chillzhuang/springblade — SpringBlade is a development framework and platform designed for building multi-tenant SaaS applications. It provides… grafana/mimir — Mimir is a multi-tenant time series database and distributed metrics store designed for scalable telemetry. It serves… abpframework/abp — ABP is an opinionated architectural framework for building enterprise software solutions using .NET and ASP.NET Core.… apache/pinot — Pinot is a distributed, columnar analytical database designed for high-concurrency, low-latency query processing. It… elsa-workflows/elsa-core — Elsa Core is a workflow engine framework designed for defining, executing, and managing long-running business…