ausus/persistence-sql
Composer 安装命令:
composer require ausus/persistence-sql
包简介
L3 PersistenceDriver — SQL implementation of RFC-002 via PDO (SQLite/MySQL/Postgres). Includes SchemaDeriver + DatabaseAuditSink.
README 文档
README
L3 — SQL PersistenceDriver implementation.
Owned RFC surfaces
- RFC-002 — full PersistenceDriver, PersistenceContext, Repository, Identity, Transactions, Optimistic locking, Relations, Filter grammar, Bulk operations, Error taxonomy.
- Schema derivation from Metadata Graph per RFC-012 §3.4.
Capabilities advertised
supportedTenancyStrategies() -> ['row'] # V1 ships row-only
supportsSnapshotReads() -> true # Postgres MVCC / MySQL InnoDB
maxNestedSavepoints() -> 8 # RFC-002 §7.4 minimum
maxBulkTransactionSize() -> 100000 # configurable
identityShape() -> 'ulid' # configurable
Allowed dependencies
ausus/kernelilluminate/database(Eloquent connection only — never exposed across the contract boundary)
Forbidden
- Eloquent return types in any public method.
Illuminate\Database\Query\Builderexposed to plugins.- Direct SQL strings accepted as input.
统计信息
- 总下载量: 237
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-05-20