php-collective/dto
php-collective/dto is a lightweight PHP package for defining typed data transfer objects. Hydrate DTOs from arrays or Laravel requests, cast nested DTOs and collections, validate data, and keep application boundaries clean with simple, expressive classes.
|
Package
|
Constraint
|
|---|---|
| sebastian/diff | ^6.0 || ^7.0 || ^8.0 || ^9.0 |
| twig/twig | ^3.0 |
|
Package
|
Constraint
|
|---|---|
| justinrainbow/json-schema | ^6.0 |
| nette/neon | ^3.3 |
| php-collective/code-sniffer | dev-master |
| phpstan/phpstan | ^2.1 |
| phpunit/phpunit | ^11.0 || ^12.0 || ^13.0 |
How can I help you explore Laravel packages today?