PHPackages                             someniatko/json-decode-middleware - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. someniatko/json-decode-middleware

ActiveLibrary[HTTP &amp; Networking](/categories/http)

someniatko/json-decode-middleware
=================================

Simple PSR-15 middleware for decoding JSON body of a server request when given respective Content-Type header

0.1.1(5y ago)1636MITPHPPHP ^7.3 || ^8.0CI failing

Since Apr 27Pushed 5y ago1 watchersCompare

[ Source](https://github.com/someniatko/json-decode-middleware)[ Packagist](https://packagist.org/packages/someniatko/json-decode-middleware)[ RSS](/packages/someniatko-json-decode-middleware/feed)WikiDiscussions master Synced 5d ago

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

Json Decode Middleware
======================

[](#json-decode-middleware)

Simple PSR-15 middleware, which decodes JSON body of a PSR-7 Server Request, if it has a `Content-Type: application/json` header, into array, which you can obtain via `getParsedBody()` call on the Server Request.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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

Every ~269 days

Total

2

Last Release

1940d ago

PHP version history (2 changes)0.1.0PHP ^7.3

0.1.1PHP ^7.3 || ^8.0

### Community

Maintainers

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

---

Top Contributors

[![someniatko](https://avatars.githubusercontent.com/u/15856706?v=4)](https://github.com/someniatko "someniatko (2 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[relay/relay

A PSR-15 server request handler.

3302.1M86](/packages/relay-relay)[neos/flow

Flow Application Framework

862.0M451](/packages/neos-flow)[mezzio/mezzio-authentication-oauth2

OAuth2 (server) authentication middleware for Mezzio and PSR-7 applications.

28483.0k2](/packages/mezzio-mezzio-authentication-oauth2)[openswoole/core

Openswoole core library

181.1M32](/packages/openswoole-core)[mezzio/mezzio-authentication

Authentication middleware for Mezzio and PSR-7 applications

121.6M26](/packages/mezzio-mezzio-authentication)[jimtools/jwt-auth

PSR-15 JWT Authentication middleware, A replacement for tuupola/slim-jwt-auth

20142.3k3](/packages/jimtools-jwt-auth)

PHPackages © 2026

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