PHPackages                             genai/dto - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. genai/dto

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

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(2d ago)019↑1163.2%Apache-2.0PHP &gt;=5.3.0

Since Jul 3Compare

[ Source](https://github.com/GenAIIO/php-dto)[ Packagist](https://packagist.org/packages/genai/dto)[ RSS](/packages/genai-dto/feed)WikiDiscussions Synced today

READMEChangelogDependenciesVersions (3)Used By (0)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/GenAIIO/php-dto).

###  Release Activity

Cadence

Every ~6 days

Total

2

Last Release

2d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/25e5bd31b5dd70d47cbdc738bded06dbabfba3d584acce63c2c4b4fb7847f39d?d=identicon)[jinnguyen](/maintainers/jinnguyen)

### Embed Badge

![Health badge](/badges/genai-dto/health.svg)

```
[![Health](https://phpackages.com/badges/genai-dto/health.svg)](https://phpackages.com/packages/genai-dto)
```

###  Alternatives

[sdkconsultoria/base

Funciones basicas y auxiliares, para generar una página web rápidamente

161.3k](/packages/sdkconsultoria-base)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
