ausus/tenancy-row
Composer 安装命令:
composer require ausus/tenancy-row
包简介
AUSUS — row-level TenantIsolationStrategy (RFC-003). Skeleton: name reserved; implementation pending.
README 文档
README
⚠️ Name reservation only — not yet implemented. This package ships an empty composer manifest so the
ausus/tenancy-rowname is reserved on Packagist for the eventual implementation. Installing it in v0.1.x adds nothing to your autoloader. Tenancy in v0.1.x is single-tenant perApplicationhandled by the kernel directly (see theAusus\Tenantvalue object + thetenantconfig key inAusus\ApplicationConfig). Use theX-Tenant-IDheader to switch tenants per HTTP request. Implementation lands when the RFC-003 § work below is completed.
L3 — row-level Tenant isolation + Tenant catalog + per-context resolvers.
Owned RFC surfaces
- RFC-003 §4 —
TenantIsolationStrategy(row strategy only in V1). - RFC-003 §3, §11 —
TenantResolverfor HTTP (subdomain / header / JWT composite), CLI (--tenantflag), QUEUE (__ausus_tenantpayload), SCHEDULED (static binding). - RFC-003 §5 —
TenantCatalogbacked byausus/persistence-sql. - RFC-003 §8 —
OverrideStorefor additive Tenant overrides. - RFC-003 §6, §7, §13 — Bootstrap, archival, deletion, strategy migration Actions (
kernel.tenant.*).
Allowed dependencies
ausus/kernelilluminate/http(subdomain resolution fromHostheader)
Forbidden
- Cross-Tenant transactions of any kind.
- Schema-per-tenant or db-per-tenant strategies (out of V1 — would be separate packages
ausus/tenancy-schema,ausus/tenancy-database).
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-05-20