dentelis/hydrator
Composer 安装命令:
composer require dentelis/hydrator
包简介
Extremely fast object and array php hydrator with strict type matching, array typings, enums, and union types
README 文档
README
Extremely fast php object and array hydrator with strict type matching, array typing, enums and type unions.
Converts simple data (obtained from json_decode or elsewhere) into objects/arrays of objects with strict typing.
Pros
- really fast (add proofs!)
- support typed arrays
- support nested objects/arrays
- support enums (both baked & unbaked)
- support union object type in object properties and arrays (union of scalar types is unsupported)
- uses constructor as well as overrides values
ToDO
- add examples
- add readme
- add speed comparison
- review exceptions
- add map support
- full union type support
- add extract method
- add native classes support (eg datetime etc)
- add extensions support
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-05-21