ausus/tenancy-row 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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-row name 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 per Application handled by the kernel directly (see the Ausus\Tenant value object + the tenant config key in Ausus\ApplicationConfig). Use the X-Tenant-ID header 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 §4TenantIsolationStrategy (row strategy only in V1).
  • RFC-003 §3, §11TenantResolver for HTTP (subdomain / header / JWT composite), CLI (--tenant flag), QUEUE (__ausus_tenant payload), SCHEDULED (static binding).
  • RFC-003 §5TenantCatalog backed by ausus/persistence-sql.
  • RFC-003 §8OverrideStore for additive Tenant overrides.
  • RFC-003 §6, §7, §13 — Bootstrap, archival, deletion, strategy migration Actions (kernel.tenant.*).

Allowed dependencies

  • ausus/kernel
  • illuminate/http (subdomain resolution from Host header)

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-05-20

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固