PHPackages                             easeappphp/json-decode - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. easeappphp/json-decode

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

easeappphp/json-decode
======================

This is to do json\_decode operation only on valid json string and in a highly performing way.

1.0.3(2y ago)0651MITPHPPHP &gt;=8.1

Since Feb 20Pushed 2y ago1 watchersCompare

[ Source](https://github.com/easeappphp/JSONDecode)[ Packagist](https://packagist.org/packages/easeappphp/json-decode)[ Docs](https://www.easeapp.org/)[ RSS](/packages/easeappphp-json-decode/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (4)DependenciesVersions (5)Used By (1)

JSONDecode
==========

[](#jsondecode)

> This is to do json\_decode operation only on valid json string and in a highly performing way.

Inspirations
------------

[](#inspirations)

Inspired from discussion that I came across on a stackoverflow thread, specifically posts by

- Cyril ()
- Philipp ()

and implemented this library, to check if an input is a valid JSON string and likewise to also provide the json decoded content (array or object), as per choice, and when using specific methods for the purpose. More example inputs are considered, to make the implementation more robust while offer good performance. Benchmarks are yet to be made.

### Getting started

[](#getting-started)

With Composer, run

```
composer require easeappphp/json-decode :^1.0.3
```

License
-------

[](#license)

This software is distributed under the [MIT](https://opensource.org/licenses/MIT) license. Please read [LICENSE](https://github.com/easeappphp/PDOLight/blob/main/LICENSE) for information on the software availability and distribution.

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity65

Established project with proven stability

 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

Every ~309 days

Total

4

Last Release

986d ago

PHP version history (2 changes)1.0.0PHP &gt;=7.3

1.0.3PHP &gt;=8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/dbe04e216b4fb74f076a82bb6bd06f96faa4066089b33082c43f8c9cf184efbf?d=identicon)[raghuveer](/maintainers/raghuveer)

---

Top Contributors

[![raghuveer](https://avatars.githubusercontent.com/u/999229?v=4)](https://github.com/raghuveer "raghuveer (14 commits)")

---

Tags

phpjson\_decodephp-arrayjson stringphp object

### Embed Badge

![Health badge](/badges/easeappphp-json-decode/health.svg)

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

###  Alternatives

[imanghafoori/laravel-anypass

A minimal yet powerful package to help you in development.

21421.6k](/packages/imanghafoori-laravel-anypass)[pharaonic/php-dot-array

Access array data quickly/easily using dot-notation and asterisk.

1011.6k3](/packages/pharaonic-php-dot-array)

PHPackages © 2026

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