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

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

kcs/serializer
==============

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

5.0.1(2mo ago)413.9k↓38.9%26MITPHPPHP ^8.1CI passing

Since Jan 29Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/alekitto/serializer)[ Packagist](https://packagist.org/packages/kcs/serializer)[ GitHub Sponsors](https://github.com/alekitto)[ RSS](/packages/kcs-serializer/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (40)Versions (61)Used By (6)

Serializer [![Tests](https://github.com/alekitto/serializer/workflows/Tests/badge.svg)](https://github.com/alekitto/serializer/workflows/Tests/badge.svg) [![FOSSA Status](https://camo.githubusercontent.com/91e25b1c3cf5fe842242ff42e14e12e0e58a35ba950f6453845b2cb202beff29/68747470733a2f2f6170702e666f7373612e696f2f6170692f70726f6a656374732f6769742532426769746875622e636f6d253246616c656b6974746f25324673657269616c697a65722e7376673f747970653d736869656c64)](https://app.fossa.io/projects/git%2Bgithub.com%2Falekitto%2Fserializer?ref=badge_shield) [![codecov](https://camo.githubusercontent.com/5fb70d4b45ad98cc9c6dfabfe3bf0733747a30c1e06b30275069d3cfb1865daf/68747470733a2f2f636f6465636f762e696f2f67682f616c656b6974746f2f73657269616c697a65722f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/alekitto/serializer)
==========================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#serializer---)

Learn more about it in its [documentation](https://github.com/alekitto/serializer/blob/master/docs/index.md).

License
-------

[](#license)

[![FOSSA Status](https://camo.githubusercontent.com/c3360ac49e4ad868d1055543db280ac8930c77be7df591164efd9eb0f2bf4c0a/68747470733a2f2f6170702e666f7373612e696f2f6170692f70726f6a656374732f6769742532426769746875622e636f6d253246616c656b6974746f25324673657269616c697a65722e7376673f747970653d6c61726765)](https://app.fossa.io/projects/git%2Bgithub.com%2Falekitto%2Fserializer?ref=badge_large)

###  Health Score

60

—

FairBetter than 99% of packages

Maintenance82

Actively maintained with recent releases

Popularity31

Limited adoption so far

Community29

Small or concentrated contributor base

Maturity86

Battle-tested with a long release history

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~85 days

Recently: every ~236 days

Total

57

Last Release

89d ago

Major Versions

1.2.0 → 2.0.0-BETA12016-09-12

2.1.0 → 3.0.02019-06-17

2.1.1 → 3.3.02020-02-23

3.6.0 → 4.0.02021-01-17

4.5.2 → 5.0.02026-02-01

PHP version history (11 changes)0.11.0PHP &gt;=5.3.2

1.0.0PHP &gt;=5.4.0

1.2.0PHP &gt;=5.5.0

2.0.0-BETA1PHP &gt;=5.6.0

2.0.0-BETA5PHP &gt;=7.1

2.0.0-BETA10PHP ^7.1

2.0.0PHP ^7.2

3.0.0PHP ^7.3

3.4.0PHP ^7.4

3.6.0PHP ^7.4 | ^8.0

4.3.0PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/73dd7f3bebd03ec946b6b12359141ea461b770c3671acac4e8004e3c2d78e78f?d=identicon)[alekitto](/maintainers/alekitto)

---

Top Contributors

[![schmittjoh](https://avatars.githubusercontent.com/u/197017?v=4)](https://github.com/schmittjoh "schmittjoh (402 commits)")[![alekitto](https://avatars.githubusercontent.com/u/1257206?v=4)](https://github.com/alekitto "alekitto (309 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 (24 commits)")[![yethee](https://avatars.githubusercontent.com/u/559488?v=4)](https://github.com/yethee "yethee (20 commits)")[![rosstuck](https://avatars.githubusercontent.com/u/146766?v=4)](https://github.com/rosstuck "rosstuck (16 commits)")[![chregu](https://avatars.githubusercontent.com/u/47106?v=4)](https://github.com/chregu "chregu (14 commits)")[![ajgarlag](https://avatars.githubusercontent.com/u/388184?v=4)](https://github.com/ajgarlag "ajgarlag (10 commits)")[![anyx](https://avatars.githubusercontent.com/u/354352?v=4)](https://github.com/anyx "anyx (9 commits)")[![stof](https://avatars.githubusercontent.com/u/439401?v=4)](https://github.com/stof "stof (8 commits)")[![emgiezet](https://avatars.githubusercontent.com/u/1410665?v=4)](https://github.com/emgiezet "emgiezet (6 commits)")[![ruudk](https://avatars.githubusercontent.com/u/104180?v=4)](https://github.com/ruudk "ruudk (5 commits)")[![JMSBot](https://avatars.githubusercontent.com/u/1719218?v=4)](https://github.com/JMSBot "JMSBot (5 commits)")[![jonotron](https://avatars.githubusercontent.com/u/349600?v=4)](https://github.com/jonotron "jonotron (5 commits)")[![robocoder](https://avatars.githubusercontent.com/u/922051?v=4)](https://github.com/robocoder "robocoder (4 commits)")[![goetas](https://avatars.githubusercontent.com/u/776743?v=4)](https://github.com/goetas "goetas (4 commits)")[![josser](https://avatars.githubusercontent.com/u/103639?v=4)](https://github.com/josser "josser (4 commits)")[![Lumbendil](https://avatars.githubusercontent.com/u/184785?v=4)](https://github.com/Lumbendil "Lumbendil (4 commits)")[![Seldaek](https://avatars.githubusercontent.com/u/183678?v=4)](https://github.com/Seldaek "Seldaek (4 commits)")[![urakozz](https://avatars.githubusercontent.com/u/5797393?v=4)](https://github.com/urakozz "urakozz (4 commits)")

---

Tags

jsonxmlyamlserializationdeserialization

###  Code Quality

TestsPHPUnit

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/kcs-serializer/health.svg)](https://phpackages.com/packages/kcs-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)[hassankhan/config

Lightweight configuration file loader that supports PHP, INI, XML, JSON, and YAML files

97513.5M170](/packages/hassankhan-config)[thunderer/serializard

Flexible serializer

2767.3k1](/packages/thunderer-serializard)

PHPackages © 2026

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