PHPackages                             alexeyshockov/json-wrapper - 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. alexeyshockov/json-wrapper

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

alexeyshockov/json-wrapper
==========================

json\_encode() and json\_decode() wrapper with better error handling

0.1.0(9y ago)21.0k1[1 issues](https://github.com/alexeyshockov/php-json-wrapper/issues)MITPHPPHP ~5.6 || ~7.0

Since Jul 12Pushed 7y ago1 watchersCompare

[ Source](https://github.com/alexeyshockov/php-json-wrapper)[ Packagist](https://packagist.org/packages/alexeyshockov/json-wrapper)[ Docs](http://github.com/alexeyshockov/php-json-wrapper)[ RSS](/packages/alexeyshockov-json-wrapper/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

php-json-wrapper
================

[](#php-json-wrapper)

json\_encode() and json\_decode() wrapper with better error handling

PHP 7.3 and above
-----------------

[](#php-73-and-above)

Since version 7.3 you PHP supports [`JSON_THROW_ON_ERROR`](http://php.net/manual/en/json.constants.php#constant.json-throw-on-error) constant to change the default behaviour to exceptions. No need for additional libraries anymore.

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

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

3633d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/203120?v=4)[Alexey Shokov](/maintainers/alexeyshockov)[@alexeyshockov](https://github.com/alexeyshockov)

---

Top Contributors

[![alexeyshockov](https://avatars.githubusercontent.com/u/203120?v=4)](https://github.com/alexeyshockov "alexeyshockov (5 commits)")[![m038](https://avatars.githubusercontent.com/u/164319?v=4)](https://github.com/m038 "m038 (1 commits)")

---

Tags

json

### Embed Badge

![Health badge](/badges/alexeyshockov-json-wrapper/health.svg)

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

###  Alternatives

[justinrainbow/json-schema

A library to validate a json schema.

3.6k328.4M737](/packages/justinrainbow-json-schema)[mtdowling/jmespath.php

Declaratively specify how to extract elements from a JSON document

2.0k493.5M159](/packages/mtdowling-jmespathphp)[jms/serializer

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

2.3k139.8M905](/packages/jms-serializer)[jms/serializer-bundle

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

1.8k91.4M664](/packages/jms-serializer-bundle)[colinodell/json5

UTF-8 compatible JSON5 parser for PHP

30424.1M51](/packages/colinodell-json5)[clue/ndjson-react

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

15677.1M25](/packages/clue-ndjson-react)

PHPackages © 2026

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