PHP Serialization

Open-source PHP projects categorized as Serialization

Top 6 PHP Serialization Projects

Serialization
  • Hprose-PHP

    Hprose is a cross-language RPC. This project is Hprose 3.0 for PHP

  • Cloudways

    Cloudways' Black Friday Offer - 1st Choice of Developers. Cloudways: Devs' 1st choice for managed hosting! Pick from top-tier Cloud providers like DigitalOcean, AWS, and GCE. Limited-time deal: 40% OFF for 4 Months + 40 Free Migrations.

    Cloudways logo
  • msgpack.php

    A pure PHP implementation of the MessagePack serialization format / msgpack.org[PHP]

  • Serde

    Robust Serde (serialization/deserialization) library for PHP 8. (by Crell)

    Project mention: FrankenPHP: The Modern PHP App Server | news.ycombinator.com | 2024-05-29

    > Go has typed container types while PHP has not.

    I suggest looking at https://github.com/Crell/Serde, if that is a requirement in PHP.

    > PHP is more convenient at another common case which is heterogeneous maps.

    Or arbitrary, user-defined keys...

    > If you want/need to walk through it in a single pass fashion, then Go is definitely more fitting.

    array_map, array_reduce, array_column is pretty good at walking through arrays very quickly, assuming you parsed the json into arrays instead of objects.

  • laminas-hydrator

    Serialize objects to arrays, and vice versa

  • hjson-php

    Hjson for PHP

  • Serializard

    Flexible serializer encouraging good object design

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

PHP Serialization discussion

Log in or Post with

PHP Serialization related posts

  • Has there been any talk of an "empty" coalesce operator?

    2 projects | /r/PHP | 8 Feb 2023
  • Hydration / Mapping library

    3 projects | /r/PHP | 31 Dec 2022
  • pjson: a simple JSON <=> PHP8+ data objects library

    4 projects | /r/PHP | 8 Nov 2022
  • Advanced MessagePack capabilities

    4 projects | dev.to | 13 Oct 2021
  • Should I replace laminas-hydrator with an optimized self written version

    2 projects | /r/webdev | 19 Jul 2021
  • A note from our sponsor - Cloudways
    platform.cloudways.com | 6 Dec 2024
    Cloudways: Devs' 1st choice for managed hosting! Pick from top-tier Cloud providers like DigitalOcean, AWS, and GCE. Limited-time deal: 40% OFF for 4 Months + 40 Free Migrations. Learn more →

Index

What are some of the best open-source Serialization projects in PHP? This list will help you:

Project Stars
1 Hprose-PHP 1,969
2 msgpack.php 389
3 Serde 299
4 laminas-hydrator 123
5 hjson-php 85
6 Serializard 27

Sponsored
Cloudways' Black Friday Offer - 1st Choice of Developers
Cloudways: Devs' 1st choice for managed hosting! Pick from top-tier Cloud providers like DigitalOcean, AWS, and GCE. Limited-time deal: 40% OFF for 4 Months + 40 Free Migrations.
platform.cloudways.com

Did you konow that PHP is
the 14th most popular programming language
based on number of metions?