semitexa/storage
最新稳定版本:2026.05.08.1640
Composer 安装命令:
composer require semitexa/storage
包简介
Semitexa Storage — driver-based file storage abstraction (local, S3/MinIO)
README 文档
README
Driver-based file storage abstraction with local and S3/MinIO backends.
Purpose
Provides a unified file storage API across local filesystem and S3-compatible object stores. Handles path namespacing for tenant isolation, metadata tracking via ORM, and CDN-ready URL generation.
Role in Semitexa
Depends on semitexa/core and semitexa/orm. Used by semitexa/mail for attachments and semitexa/platform-user for avatar storage. Drivers are resolved via the container and selected per storage context.
Key Features
StorageManagerfacade with driver selectionLocalDriverfor filesystem storageS3Driverfor S3/MinIO object storageStorageDriverInterfacefor custom backendsStoredObjectDescriptorandStoredObjectMetadatavalue objects- Tenant-aware path namespacing
StorageObjectStoreInterfacefor metadata persistence
Notes
Storage paths are automatically namespaced per tenant when tenancy is active. Drivers are stateless and safe for concurrent use in Swoole.
统计信息
- 总下载量: 92
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 5
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-03-06