Download the PHP package lodipay/php-dto without Composer
On this page you can find all versions of the php package lodipay/php-dto. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package php-dto
tsetsee/php-dto
PHP Data Transfer Object Library
Getting starts
You should extend your class by TseDTO
.
Installation
Features
toArray()
method only based on the initialized array data.
Handling DateTime
-
php-dto
supports symfony'sDateTimeNormalizer
which handles\DateTimeInterface
,\DateTimeImmutable
,\DateTime
. @see. By default, it uses the RFC3339 format. -
php-dto
supports Carbon. By default, it uses the RFC3339 format. - Cast from timestamp.
Format | Description |
---|---|
x | timestamp by milliseconds |
X | timestamp by seconds |
Casting Array
You should add adder method
if the property is an array of DTO.
All versions of php-dto with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.0
nesbot/carbon Version ^2.62
symfony/serializer Version ^4.0 || ^5.0 || ^6.0
symfony/property-access Version ^4.0 || ^5.0 || ^6.0
nesbot/carbon Version ^2.62
symfony/serializer Version ^4.0 || ^5.0 || ^6.0
symfony/property-access Version ^4.0 || ^5.0 || ^6.0
The package lodipay/php-dto contains the following files
Loading the files please wait ....