PHPackages                             dijky/cereal-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. dijky/cereal-php

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

dijky/cereal-php
================

PHP implementation of the C++ Cereal serialization library

07PHP

Since Nov 12Pushed 8y ago1 watchersCompare

[ Source](https://github.com/Dijky/cereal-php)[ Packagist](https://packagist.org/packages/dijky/cereal-php)[ RSS](/packages/dijky-cereal-php/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

Cereal PHP
==========

[](#cereal-php)

This library implements the functionality of the C++ serialization library [Cereal](http://uscilab.github.io/cereal/) in pure PHP.

It intends to create a compatible serialization feature to enable data exchange between C++ and PHP applications.

Installation
------------

[](#installation)

Use Composer to install this library:

```
composer require dijky/cereal-php

```

Requirements and Limitations
----------------------------

[](#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 the `SizeTag` for `Vector` size and `Str` length.

License
-------

[](#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](https://github.com/Dijky/cereal-php/blob/master/LICENSE).

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/8b994b0ad90c7fa6213fa26d2965b85ba6b7040f3b8c2355b92fe6fd719b069f?d=identicon)[Dijky](/maintainers/Dijky)

---

Top Contributors

[![Dijky](https://avatars.githubusercontent.com/u/9408779?v=4)](https://github.com/Dijky "Dijky (7 commits)")

---

Tags

cerealphpserialization

### Embed Badge

![Health badge](/badges/dijky-cereal-php/health.svg)

```
[![Health](https://phpackages.com/badges/dijky-cereal-php/health.svg)](https://phpackages.com/packages/dijky-cereal-php)
```

###  Alternatives

[mck89/peast

Peast is PHP library that generates AST for JavaScript code

19037.7M41](/packages/mck89-peast)[sauladam/shipment-tracker

Parses tracking information for several carriers, like UPS, USPS, DHL and GLS by simply scraping the data. No need for any kind of API access.

9642.0k](/packages/sauladam-shipment-tracker)[jstewmc/rtf

Read and write Rich Text Format (RTF) documents with PHP

46143.1k6](/packages/jstewmc-rtf)[moonshine/layouts-field

Field for repeating groups of fields for MoonShine

107.9k](/packages/moonshine-layouts-field)[tcds-io/php-jackson

A lightweight, flexible object serializer for PHP, inspired by FasterXML/jackson

112.9k10](/packages/tcds-io-php-jackson)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
