Dt0 is a PHP implementation of a DTO that can both secure mutability and implement convenient ways to take control over input and output in various formats.
MIT License
Published by fab2s 6 months ago
🐘 Generates neat PHP code for you. Supports new PHP 8.3 features.
Laravel Data-Transfer-Object
PHP properties implementation
Immutable object library for PHP
PHP Class to easily cast variables to a specific type.
Strongly typed hydrator (mapper, populator) for PHP 7.4+ with extensibility
🎭 Basic type-casting functionality for PHP.
📐 Validating data structures against a given Schema.
Provides a convenient way to cast and transform your models for API purposes.