Download the PHP package makinacorpus/generated-hydrator without Composer
On this page you can find all versions of the php package makinacorpus/generated-hydrator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download makinacorpus/generated-hydrator
More information about makinacorpus/generated-hydrator
Files in makinacorpus/generated-hydrator
Package generated-hydrator
Short Description An Object Hydrator that allows very fast array to object to array conversion
License MIT
Homepage https://github.com/Ocramius/GeneratedHydrator
Informations about the package generated-hydrator
Generated Hydrator
GeneratedHydrator is a library about high performance transition of data from arrays to objects and from objects to arrays.
This project was forked from ocramius/generated-hydrator all credits goes to Marco Pivetta, original author of this library. This project will remain API compatible with it.
Status
Current 4.2.x branch exists only for PHP 8 support.
The only difference compared to upstream ocramius/generated-hydrator is that some dependencies constraints have been relaxed in order to support installation on PHP 8.
Once https://github.com/Ocramius/GeneratedHydrator/issues/159 will be fixed, this project will be abandonned, once again.
History
Time has passed, and PHP 5.6 is not supported anywhere anymore, as a consequence this package is not supported anymore.
Please use ocramius/generated-hydrator instead, and if you wish to integrate it with Symfony, please consider using makinacorpus/generated-hydrator-bundle.
This package may if necessary receive some updates, for bugfixes and security fixes.
Description
Differences are:
-
it does not use nikic/php-parser dependency, which causes us serious dependency hell on many projects,
-
it does not use ocramius/code-generator-utils for the very same reason,
-
code is much more shorted and faster for hydrator class generation, and simpler to maintain in time,
- we needed at some point PHP 5.6 compatibility, this package temporarily restores it, and will dropped again in late 2019.
Apart from those few differences, generated hydrator code remain the same and perform equivalently.
Version
- For PHP >= 7.4 please use
ocramius/generated-hydrator
instead. - 3.0 (master branch) is PHP 7.2 and 7.3 compatible.
- 2.x (2.0 branch is for PHP 5.6 and compatible and is now deprecated and unmaintained.
- 1.x is deprecated and unmaintained.
All versions of generated-hydrator with dependencies
laminas/laminas-hydrator Version ^4.1.0
nikic/php-parser Version ^4.10.5
ocramius/code-generator-utils Version ^1.1.0