Download the PHP package guennichi/mapper without Composer
On this page you can find all versions of the php package guennichi/mapper. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download guennichi/mapper
More information about guennichi/mapper
Files in guennichi/mapper
Download guennichi/mapper
More information about guennichi/mapper
Files in guennichi/mapper
Vendor guennichi
Package mapper
Short Description A lightweight library to map array data to PHP immutable objects
License MIT
Package mapper
Short Description A lightweight library to map array data to PHP immutable objects
License MIT
Please rate this library. Is it a good library?
Informations about the package mapper
Mapper: Map arrays into PHP objects and collections
A lightweight library to map array data into PHP immutable objects, collections and strongly typed arrays via constructors.
Benchmark
Check benchmark/
directory for more details about the implementation.
Benchmark | Revs | Its | mem_peak | Mode | rstdev |
---|---|---|---|---|---|
unserialize() |
5000 | 5 | 1.724mb | 9.547μs | ±1.51% |
symfony/serializer |
5000 | 5 | 3.489mb | 122.343μs | ±0.84% |
guennichi/mapper |
5000 | 5 | 2.972mb | 16.638μs | ±0.41% |
Installation
Usage
Dedication
Special thanks to my colleague @Gabriel Ostrolucký for his support and advices to make this happen.
All versions of mapper with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.1
phpdocumentor/reflection-docblock Version ^5.3
phpdocumentor/type-resolver Version ^1.6
symfony/filesystem Version >=5.4
phpdocumentor/reflection-docblock Version ^5.3
phpdocumentor/type-resolver Version ^1.6
symfony/filesystem Version >=5.4
The package guennichi/mapper contains the following files
Loading the files please wait ....