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 1mo 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 32% 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

3588d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/dbb1137342b76983ce06549ef8a9eb3332c3f35c30a45298c9070bc93b26db95?d=identicon)[alexeyshockov](/maintainers/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.6k316.9M607](/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.8M848](/packages/jms-serializer)[jms/serializer-bundle

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

1.8k89.3M618](/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.

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

PHPackages © 2026

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