PHPackages                             i-complex/serializer - 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. i-complex/serializer

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

i-complex/serializer
====================

Library for (de-)serializing data of any complexity; supports XML, and JSON.

0.1.0(2y ago)0865↓33.3%MITPHPPHP ^7.2||^8.0

Since Apr 27Pushed 2y agoCompare

[ Source](https://github.com/i-complex/serializer)[ Packagist](https://packagist.org/packages/i-complex/serializer)[ Docs](http://jmsyst.com/libs/serializer)[ GitHub Sponsors](https://github.com/goetas)[ RSS](/packages/i-complex-serializer/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (24)Versions (20)Used By (0)

jms/serializer
==============

[](#jmsserializer)

[![GitHub Actions](https://github.com/schmittjoh/serializer/workflows/CI/badge.svg)](https://github.com/schmittjoh/serializer/actions?query=workflow%3A%22CI%22+branch%3Amaster)[![Packagist](https://camo.githubusercontent.com/7b2cf449f31f9893ab2510aeae2e7e73c57dde78ecda53a235c828a271244064/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6a6d732f73657269616c697a65722e737667)](https://packagist.org/packages/jms/serializer)

[![alt text](doc/logo-small.png)](doc/logo-small.png)

Introduction
------------

[](#introduction)

This library allows you to (de-)serialize data of any complexity. Currently, it supports XML and JSON.

It also provides you with a rich tool-set to adapt the output to your specific needs.

Built-in features include:

- (De-)serialize data of any complexity; circular references and complex exclusion strategies are handled gracefully.
- Supports many built-in PHP types (such as dates, intervals)
- Integrates with Doctrine ORM, et. al.
- Supports versioning, e.g. for APIs
- Configurable via XML, YAML, or Annotations

Documentation
-------------

[](#documentation)

Learn more about the serializer in its [documentation](http://jmsyst.com/libs/serializer).

Notes
-----

[](#notes)

You are browsing the code for the 3.x version, if you are interested in the 1.x or 2.x version, check the [1.x](https://github.com/schmittjoh/serializer/tree/1.x) and [2.x](https://github.com/schmittjoh/serializer/tree/2.x) branches.

The version `3.x` is the supported version (`master` branch). The `1.x` and `2.x` versions are not supported anymore.

For the `1.x` and `2.x` branches there will be no additional feature releases.
Security issues will be fixed till the 1st January 2020 and only critical bugs might receive fixes until the 1st September 2019.

Instructions on how to upgrade to 3.x are available in the [UPGRADING](https://github.com/schmittjoh/serializer/blob/master/UPGRADING.md) document.

Professional Support
--------------------

[](#professional-support)

For eventual paid support please write an email to .

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 54.1% 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.

###  Release Activity

Cadence

Every ~910 days

Total

3

Last Release

767d ago

PHP version history (3 changes)2.x-devPHP ^7.2

1.x-devPHP ^5.5|^7.0

0.1.0PHP ^7.2||^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/482db78116c183996f2a0aa2a5f4340c114c93c77791aa2749ab94b2ef7dd722?d=identicon)[belkinai](/maintainers/belkinai)

---

Top Contributors

[![goetas](https://avatars.githubusercontent.com/u/776743?v=4)](https://github.com/goetas "goetas (907 commits)")[![schmittjoh](https://avatars.githubusercontent.com/u/197017?v=4)](https://github.com/schmittjoh "schmittjoh (428 commits)")[![dgafka](https://avatars.githubusercontent.com/u/6060791?v=4)](https://github.com/dgafka "dgafka (28 commits)")[![lsmith77](https://avatars.githubusercontent.com/u/300279?v=4)](https://github.com/lsmith77 "lsmith77 (28 commits)")[![adrienbrault](https://avatars.githubusercontent.com/u/611271?v=4)](https://github.com/adrienbrault "adrienbrault (25 commits)")[![simPod](https://avatars.githubusercontent.com/u/327717?v=4)](https://github.com/simPod "simPod (22 commits)")[![yethee](https://avatars.githubusercontent.com/u/559488?v=4)](https://github.com/yethee "yethee (20 commits)")[![Majkl578](https://avatars.githubusercontent.com/u/144181?v=4)](https://github.com/Majkl578 "Majkl578 (18 commits)")[![rosstuck](https://avatars.githubusercontent.com/u/146766?v=4)](https://github.com/rosstuck "rosstuck (16 commits)")[![supersmile2009](https://avatars.githubusercontent.com/u/25199815?v=4)](https://github.com/supersmile2009 "supersmile2009 (16 commits)")[![chregu](https://avatars.githubusercontent.com/u/47106?v=4)](https://github.com/chregu "chregu (15 commits)")[![alcalyn](https://avatars.githubusercontent.com/u/1588144?v=4)](https://github.com/alcalyn "alcalyn (12 commits)")[![joaojacome](https://avatars.githubusercontent.com/u/969041?v=4)](https://github.com/joaojacome "joaojacome (12 commits)")[![ruudk](https://avatars.githubusercontent.com/u/104180?v=4)](https://github.com/ruudk "ruudk (11 commits)")[![gam6itko](https://avatars.githubusercontent.com/u/3841197?v=4)](https://github.com/gam6itko "gam6itko (10 commits)")[![ajgarlag](https://avatars.githubusercontent.com/u/388184?v=4)](https://github.com/ajgarlag "ajgarlag (10 commits)")[![mbabker](https://avatars.githubusercontent.com/u/368545?v=4)](https://github.com/mbabker "mbabker (9 commits)")[![anyx](https://avatars.githubusercontent.com/u/354352?v=4)](https://github.com/anyx "anyx (9 commits)")[![sanmai](https://avatars.githubusercontent.com/u/139488?v=4)](https://github.com/sanmai "sanmai (9 commits)")[![VincentLanglet](https://avatars.githubusercontent.com/u/9052536?v=4)](https://github.com/VincentLanglet "VincentLanglet (8 commits)")

---

Tags

jsonxmlserializationdeserializationjaxb

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/i-complex-serializer/health.svg)

```
[![Health](https://phpackages.com/badges/i-complex-serializer/health.svg)](https://phpackages.com/packages/i-complex-serializer)
```

###  Alternatives

[jms/serializer

Library for (de-)serializing data of any complexity; supports XML, and JSON.

2.3k135.8M851](/packages/jms-serializer)[jms/serializer-bundle

Allows you to easily serialize, and deserialize data of any complexity

1.8k89.3M627](/packages/jms-serializer-bundle)

PHPackages © 2026

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