JMSSerializer
Library for (de-)serializing data of any complexity (supports JSON, and XML) observed · 2026-08-28
Health v2 · maintenance only
80/100
- Activity 84
- Release rhythm 63
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 48.0
- age_days: 5023
- days_rel: 167
- days_push: 97
- n_releases_24m: 9
Adoption not part of the score
2343 stars · 589 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
jms/serializer is a PHP library for serializing and deserializing data of any complexity, supporting JSON and XML formats. It offers configurable metadata (XML, YAML, annotations), exclusion strategies, circular reference handling, and Doctrine ORM integration, with a Symfony bundle available.
Use cases
- serialize PHP objects to JSON for API responses
- deserialize JSON payloads into typed PHP objects
- convert objects to XML and back
- control API output with exclusion strategies and versioning
- map Doctrine entities to JSON/XML representations
When to choose
- you need robust object (de-)serialization in PHP with fine-grained output control
- you work with Symfony and want a mature serializer bundle
- you need to handle circular references or complex object graphs
- you want annotation, XML, or YAML-based mapping configuration
When to avoid
- you only need simple json_encode/json_decode without object mapping
- you use a framework with a built-in serializer that suffices
- you need formats beyond JSON and XML
Facets
library · maturity stable
serialization json web-development backend developer-tools php jms-serializer symfony-bundle doctrine-integration object-mapping api-versioning xml
2 sources
- readme: https://github.com/schmittjoh/serializer · fetched 2026-08-28 · cdb6d561280b
- homepage: http://jmsyst.com/libs/serializer · fetched 2026-08-29 · a026f1bbafa0
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| schmittjoh/serializer | main | 80 |
| schmittjoh/JMSSerializerBundle | plugin | 63 |
For agents
markdown · JSON · MCP: product_card(name="schmittjoh/serializer")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem