codememory/dto
Auto-hydrate PHP/Symfony DTOs from request/array data using rules and decorators. Supports name conversion (e.g., snake_case), enum casting via attributes, and event hooks during processing. Build a manager with caching and reflection for fast mapping.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| bujanov/dto-bundle | 0.87 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| 24hoursmedia/tesla-dto-bundle | 0.86 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | — | — | |
| dayploy/dart-dto-bundle | 0.85 | — | 0 | 0 | 0 | 193 | 0 | 0.0 | 31.6 | MIT | — | |
| thenorthmemory/xml | 0.85 | Lightweight XML transformer for PHP: parse XML into arrays and build XML back from arrays. Supports repeated elements/lists, optional pretty printing, custom root nodes, and wrapping arrays to control tag output. Extracted from wechatpay-php for general use. | 9 | 9 | 0 | 30K | 0 | 0.9 | 48.0 | Apache-2.0 | 3 years ago | |
| dreadnip/smart-dto-bundle | 0.85 | — | 0 | 0 | 0 | 0 | 0 | 0.9 | — | MIT | 4 years ago | |
| alexmanno/serializer | 0.84 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | Apache-2.0 | — | |
| spatie/value-object | 0.84 | Deprecated Spatie package for PHP 8+ data transfer objects. Create typed DTOs from arrays with casting, validation, and attribute mapping (e.g., nested keys). Consider migrating to spatie/laravel-data or cuyz/valinor. | 2,221 | 2,223 | 187 | 0 | 0 | 12.9 | — | MIT | 4 years ago | |
| fitbug/symfony-yaml-serializer-encoder-decoder | 0.84 | Adds YAML encoding/decoding support to Symfony’s Serializer component. Install via Composer and register YamlEncoder with YamlEncode/YamlDecode to serialize objects to/from YAML alongside your normalizers. Requires PHP 5.6+. | 3 | 3 | 0 | 164 | 0 | 0.6 | 22.4 | MIT | 10 years ago | |
| wendelladriel/laravel-validated-dto | 0.84 | Validated DTOs for Laravel: extend ValidatedDTO, declare typed properties and validation rules, and get validated, cast, type-safe data objects from request payloads. Includes built-in casts and config publishing for cleaner controllers. | 774 | 774 | 46 | 54K | 1 | 26.3 | 28.0 | MIT | 5 months ago | |
| dmp/rest-bundle | 0.84 | — | 0 | 0 | 0 | 2 | 0 | 17.3 | 7.4 | — | 7 months ago | |
| zero-to-prod/data-model | 0.84 | DataModel hydrates PHP objects from external data with a single from($data) call using reflection and type hints. Validation and casting live in #[Describe] attributes (required, nullable, default, assign), replacing manual property wiring and scattered null checks. | 139 | 140 | 7 | 2K | 0 | 29.0 | 18.4 | MIT | 2 months ago | |
| yorcreative/laravel-argonaut-dto | 0.84 | Laravel Argonaut DTO transforms arrays, objects, and collections into structured, immutable DTOs with deep nested casting, type-safe conversion, Laravel validation, attribute prioritization, and clean toArray/toJson serialization. | 106 | 105 | 6 | 2K | 0 | 19.9 | 21.1 | MIT | 1 month ago | |
| dualmedia/symfony-request-dto-bundle | 0.84 | — | 8 | 8 | 3 | 213 | 2 | 30.4 | 22.6 | MIT | 5 days ago | |
| byscripts/static-entity | 0.84 | Static Entity provides model/entity-like behavior backed by static arrays. Define constants and a dataset to access rich objects without a database—ideal for enums, reference lists, and small lookup tables in PHP/Laravel apps. | 2 | 2 | 0 | 170 | 0 | 4.8 | 24.3 | — | 8 years ago | |
| digitalrevolution/utils | 0.84 | A PHP 8.3+ utility library of everyday helper classes, focused on array operations such as first/last, find, flatten, map, groupBy, diff, unique, remove, JSON conversion, and path fetching, plus iterable and string helpers. | 2 | 1 | 8 | 2K | 1 | 29.0 | 46.8 | MIT | 3 weeks ago | |
| codememory/entity-response-control | 0.84 | Define response prototypes to shape arrays from Doctrine entities using PHP attributes. Build API-friendly payloads with custom formatting, naming strategies, and decorators, including extra per-object data from additional queries. | 2 | 2 | 0 | 0 | 0 | 6.0 | — | MIT | 1 year ago | |
| coder-at-heart/object-models | 0.83 | — | 5 | 6 | 0 | 1 | 0 | 0.0 | 0.9 | MIT | — | |
| spatie/laravel-data | 0.83 | Spatie Laravel Data lets you define rich data objects once and reuse them as form requests, API transformers, and TypeScript definitions. It supports automatic validation, resource transformation, lazy properties, and constructing objects from request data. | 1,801 | 1,815 | 293 | 4M | 6 | 51.4 | 63.7 | MIT | 1 week ago | |
| codememory/reflection | 0.83 | Cacheable alternative to PHP’s Reflection API. Uses a Symfony Cache adapter to store class metadata (names, methods, properties, types, attributes) for faster repeat reflection in production, with a dev mode toggle via ReflectorManager. | 2 | 2 | 0 | 3 | 0 | 8.5 | 4.3 | MIT | 1 year ago | |
| digital-craftsman/deserializing-connection | 0.83 | — | 0 | 0 | 0 | 346 | 0 | 25.0 | 41.3 | MIT | 6 days ago |
How can I help you explore Laravel packages today?