Download the PHP package perfilov/php-dto-packer without Composer
On this page you can find all versions of the php package perfilov/php-dto-packer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download perfilov/php-dto-packer
More information about perfilov/php-dto-packer
Files in perfilov/php-dto-packer
Download perfilov/php-dto-packer
More information about perfilov/php-dto-packer
Files in perfilov/php-dto-packer
Vendor perfilov
Package php-dto-packer
Short Description Blazing-fast PHP library to convert arrays, JSON & objects into strongly typed DTOs (and back)
License MIT
Homepage https://beacons.ai/stanislavperfilov
Package php-dto-packer
Short Description Blazing-fast PHP library to convert arrays, JSON & objects into strongly typed DTOs (and back)
License MIT
Homepage https://beacons.ai/stanislavperfilov
Please rate this library. Is it a good library?
Informations about the package php-dto-packer
DtoPacker is a small PHP library to pack data into a strongly-typed value object structure. Use it when you want to transfer objects between services and send to front.
Write to me if you need additional features PerfilovStanislav
Install
- Example
- Aliases
- Typed arrays
- Mutators
- Validators
- Dimension
Quick Example
Output:
Aliases
Typed arrays
Output:
Mutators
Validators
FieldValidators - example
FieldValidators - validate field's value
Output:
ArrayValidators - example
ArrayValidators - validate each item of array
Output:
Chain of validators - example
Output:
Dimension
Output:
Benchmark
Check out the benchmark comparison of popular libraries

All versions of php-dto-packer with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.1
The package perfilov/php-dto-packer contains the following files
Loading the files please wait ...