Download the PHP package amphp/serialization without Composer
On this page you can find all versions of the php package amphp/serialization. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download amphp/serialization
More information about amphp/serialization
Files in amphp/serialization
Package serialization
Short Description Serialization tools for IPC and data storage in PHP.
License MIT
Homepage https://github.com/amphp/serialization
Informations about the package serialization
amphp/serialization
AMPHP is a collection of event-driven libraries for PHP designed with fibers and concurrency in mind.
amphp/serialization
is a library providing serialization tools for IPC and data storage in PHP.
Installation
This package can be installed as a Composer dependency.
Serializer
The main interface of this library is Amp\Serialization\Serializer
.
JSON
JSON serialization can be used with the JsonSerializer
.
Native Serialization
Native serialization (serialize
/ unserialize
) can be used with the NativeSerializer
.
Passthrough Serialization
Sometimes you already have a string
and don't want to apply additional serialization. In these cases, you can use the PassthroughSerializer
.
Compression
Often, serialized data can be compressed quite well. If you don't need interoperability with other systems deserializing the data, you can compress your serialized payloads by wrapping your Serializer
instance in an CompressingSerializer
.
Security
If you discover any security related issues, please email [email protected]
instead of using the issue tracker.
License
The MIT License (MIT). Please see LICENSE
for more information.