cognesy/instructor-contracts
Composer 安装命令:
composer require cognesy/instructor-contracts
包简介
Shared contracts and value objects for Instructor PHP library
README 文档
README
Shared contracts (interfaces) and value objects for the Instructor PHP library.
This package holds the small, dependency-light abstractions that multiple Instructor packages depend on — validation, transformation, and deserialization contracts plus their associated value objects — so that higher-level packages can share them without creating circular dependencies between each other.
It depends only on cognesy/instructor-utils.
Contents
Cognesy\Instructor\Validation\—ValidationResult,ValidationError, and theCanValidateSelf/CanValidateObject/CanValidateValuecontracts.Cognesy\Instructor\Transformation\— theCanTransformSelf/CanTransformDatacontracts.Cognesy\Instructor\Deserialization\— theCanDeserializeClass/CanDeserializeSelfcontracts.
License
MIT
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-06-29