PHPackages                             json-zlib/compressor - 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. json-zlib/compressor

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

json-zlib/compressor
====================

A library to (de-)compress JSON strings using `zlib`.

v1.0.0(3y ago)02.0kMITPHPPHP &gt;=7.4

Since Oct 6Pushed 3y ago1 watchersCompare

[ Source](https://github.com/BR0kEN-/json-zlib-compressor)[ Packagist](https://packagist.org/packages/json-zlib/compressor)[ Docs](https://github.com/BR0kEN-/json-zlib-compressor)[ RSS](/packages/json-zlib-compressor/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

JSON Zlib Compressor
====================

[](#json-zlib-compressor)

A library to (de-)compress JSON strings using `zlib`.

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

[](#installation)

```
composer require json-zlib/compressor
```

Usage
-----

[](#usage)

```
use Json\ZlibCompressor;

$data = [
    'test' => 12,
    'key' => [1, 2, 3],
];

\assert(
    $data === ZlibCompressor::inflate(ZlibCompressor::deflate($data)),
);
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

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

Unknown

Total

1

Last Release

1320d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0e8b4c73b9ba0729e2c5b690cbdb63bfbe982130513b0c9d64c6c26e1d4d32ff?d=identicon)[BR0kEN-](/maintainers/BR0kEN-)

---

Top Contributors

[![BR0kEN-](https://avatars.githubusercontent.com/u/2760616?v=4)](https://github.com/BR0kEN- "BR0kEN- (5 commits)")

---

Tags

jsonzipcompressdeflateinflatezlibdecompress

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/json-zlib-compressor/health.svg)

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

###  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)
