dijky / cereal-php
PHP implementation of the C++ Cereal serialization library
dev-master
2017-11-12 22:00 UTC
Requires
- php-64bit: ^7.0
This package is auto-updated.
Last update: 2024-12-24 19:30:47 UTC
README
This library implements the functionality of the C++ serialization library Cereal in pure PHP.
It intends to create a compatible serialization feature to enable data exchange between C++ and PHP applications.
Installation
Use Composer to install this library:
composer require dijky/cereal-php
Requirements and Limitations
- Cereal PHP requires a 64 bit installation of PHP 7.0 or higher
- PHP does not support unsigned 64 bit integers; all uses of
Integral\UInt64
are therefore effectively limited to 63 bits.
This includes theSizeTag
forVector
size andStr
length.
License
Cereal PHP is licensed under the permissive MIT license which allows usage in
all free and commercial contexts.
You can find the full license text in the license file.