genai / dto
DTO support: a #[Dto] attribute, a build-time processor that compiles each DTO's getters into a JSON map, and a PHP 5.3-safe Serializer that turns DTOs (and nested/arrays of them) into arrays via that map — no runtime reflection, no toArray(). Standalone: no runtime dependencies.
v1.0.1
2026-07-10 02:09 UTC
Requires
- php: >=5.3.0
Suggests
- genai/attribute: PHP 8 build-time #[Dto] scanning via GenAI\Dto\Processor\DtoProcessor (the runtime stays PHP 5.3).