PHPackages                             zendframework/zend-json - 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. zendframework/zend-json

Abandoned → [laminas/laminas-json](/?search=laminas%2Flaminas-json)ArchivedLibrary[Parsing &amp; Serialization](/categories/parsing)

zendframework/zend-json
=======================

provides convenience methods for serializing native PHP to JSON and decoding JSON to native PHP

3.1.2(6y ago)10024.1M↑23.3%27[5 issues](https://github.com/zendframework/zend-json/issues)[1 PRs](https://github.com/zendframework/zend-json/pulls)20BSD-3-ClausePHPPHP ^5.6 || ^7.0

Since Oct 10Pushed 6y ago15 watchersCompare

[ Source](https://github.com/zendframework/zend-json)[ Packagist](https://packagist.org/packages/zendframework/zend-json)[ RSS](/packages/zendframework-zend-json/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (3)Versions (70)Used By (20)Security (1)

zend-json
=========

[](#zend-json)

> ## Repository abandoned 2019-12-31
>
> [](#repository-abandoned-2019-12-31)
>
> This repository has moved to [laminas/laminas-json](https://github.com/laminas/laminas-json).

[![Build Status](https://camo.githubusercontent.com/f324b669aba1e0b9519a49605e248b8c71a83d8021e0e75d2956544fe522cd3a/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f7a656e646672616d65776f726b2f7a656e642d6a736f6e2e7376673f6272616e63683d6d6173746572)](https://secure.travis-ci.org/zendframework/zend-json)[![Coverage Status](https://camo.githubusercontent.com/a8985f5c2eccbd41452568401f19e7c8bb1409533a10d96918334903227c9dcf/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f7a656e646672616d65776f726b2f7a656e642d6a736f6e2f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/zendframework/zend-json?branch=master)

`Zend\Json` provides convenience methods for serializing native PHP to JSON and decoding JSON to native PHP. For more information on JSON, visit the JSON [project site](http://www.json.org/).

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

[](#installation)

Run the following to install this library:

```
$ composer require zendframework/zend-json
```

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

[](#documentation)

Browse the documentation online at

Support
-------

[](#support)

- [Issues](https://github.com/zendframework/zend-json/issues/)
- [Chat](https://zendframework-slack.herokuapp.com/)
- [Forum](https://discourse.zendframework.com/)

###  Health Score

53

—

FairBetter than 97% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity63

Solid adoption and visibility

Community47

Growing community involvement

Maturity73

Established project with proven stability

 Bus Factor1

Top contributor holds 72.2% 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 ~38 days

Recently: every ~335 days

Total

67

Last Release

2413d ago

Major Versions

2.6.1 → 3.0.02016-04-01

PHP version history (5 changes)2.0.3PHP &gt;=5.3.3

2.3.0PHP &gt;=5.3.23

2.5.2PHP &gt;=5.5

2.6.1PHP ^5.5 || ^7.0

3.1.0PHP ^5.6 || ^7.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/296074?v=4)[Zend Framework](/maintainers/zendframework)[@zendframework](https://github.com/zendframework)

---

Top Contributors

[![weierophinney](https://avatars.githubusercontent.com/u/25943?v=4)](https://github.com/weierophinney "weierophinney (4465 commits)")[![Maks3w](https://avatars.githubusercontent.com/u/1301698?v=4)](https://github.com/Maks3w "Maks3w (586 commits)")[![Ocramius](https://avatars.githubusercontent.com/u/154256?v=4)](https://github.com/Ocramius "Ocramius (361 commits)")[![EvanDotPro](https://avatars.githubusercontent.com/u/5607?v=4)](https://github.com/EvanDotPro "EvanDotPro (155 commits)")[![akrabat](https://avatars.githubusercontent.com/u/33135?v=4)](https://github.com/akrabat "akrabat (118 commits)")[![ezimuel](https://avatars.githubusercontent.com/u/475967?v=4)](https://github.com/ezimuel "ezimuel (93 commits)")[![marc-mabe](https://avatars.githubusercontent.com/u/302689?v=4)](https://github.com/marc-mabe "marc-mabe (48 commits)")[![michalbundyra](https://avatars.githubusercontent.com/u/7423207?v=4)](https://github.com/michalbundyra "michalbundyra (43 commits)")[![ralphschindler](https://avatars.githubusercontent.com/u/76674?v=4)](https://github.com/ralphschindler "ralphschindler (35 commits)")[![sgehrig](https://avatars.githubusercontent.com/u/43394?v=4)](https://github.com/sgehrig "sgehrig (33 commits)")[![samsonasik](https://avatars.githubusercontent.com/u/459648?v=4)](https://github.com/samsonasik "samsonasik (31 commits)")[![DASPRiD](https://avatars.githubusercontent.com/u/233300?v=4)](https://github.com/DASPRiD "DASPRiD (25 commits)")[![Freeaqingme](https://avatars.githubusercontent.com/u/33034?v=4)](https://github.com/Freeaqingme "Freeaqingme (24 commits)")[![mwillbanks](https://avatars.githubusercontent.com/u/38209?v=4)](https://github.com/mwillbanks "mwillbanks (18 commits)")[![Thinkscape](https://avatars.githubusercontent.com/u/270528?v=4)](https://github.com/Thinkscape "Thinkscape (14 commits)")[![blanchonvincent](https://avatars.githubusercontent.com/u/1580512?v=4)](https://github.com/blanchonvincent "blanchonvincent (12 commits)")[![mikaelkael](https://avatars.githubusercontent.com/u/212540?v=4)](https://github.com/mikaelkael "mikaelkael (11 commits)")[![bakura10](https://avatars.githubusercontent.com/u/1198915?v=4)](https://github.com/bakura10 "bakura10 (11 commits)")[![micheh](https://avatars.githubusercontent.com/u/1307920?v=4)](https://github.com/micheh "micheh (11 commits)")[![wdalmut](https://avatars.githubusercontent.com/u/551974?v=4)](https://github.com/wdalmut "wdalmut (10 commits)")

---

Tags

jsonZendFrameworkzf

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/zendframework-zend-json/health.svg)

```
[![Health](https://phpackages.com/badges/zendframework-zend-json/health.svg)](https://phpackages.com/packages/zendframework-zend-json)
```

###  Alternatives

[justinrainbow/json-schema

A library to validate a json schema.

3.6k316.9M612](/packages/justinrainbow-json-schema)[mtdowling/jmespath.php

Declaratively specify how to extract elements from a JSON document

2.0k472.8M135](/packages/mtdowling-jmespathphp)[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)[colinodell/json5

UTF-8 compatible JSON5 parser for PHP

30422.2M45](/packages/colinodell-json5)[clue/ndjson-react

Streaming newline-delimited JSON (NDJSON) parser and encoder for ReactPHP.

15467.7M16](/packages/clue-ndjson-react)

PHPackages © 2026

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