PHPackages                             b-hayes/json - 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. [CLI &amp; Console](/categories/cli)
4. /
5. b-hayes/json

ActiveLibrary[CLI &amp; Console](/categories/cli)

b-hayes/json
============

Runs any PHP Class as a command line application

v0.1.1(3y ago)040MITPHPPHP &gt;=7.4.3

Since Nov 22Pushed 3y ago1 watchersCompare

[ Source](https://github.com/b-hayes/json)[ Packagist](https://packagist.org/packages/b-hayes/json)[ RSS](/packages/b-hayes-json/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (6)Used By (0)

json
====

[](#json)

A very basic JSON class for common tasks. Basically a wrapper for php's standard encoding/decoding but using the JSON\_THROW\_EXCEPTION option so that invalid json always throws an exception. Comes with some other things like applying the contents of JSON string to an object as properties so you can get code hints for common json responses by pseudo typ-casting them into a DTO.

Plans for improving later but jsut want this as a package to install with other projects.

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity44

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 ~73 days

Total

5

Last Release

1392d ago

PHP version history (3 changes)v0.0.0PHP ^7.4.3

v0.0.1PHP &gt;7.4.3

v0.1.0PHP &gt;=7.4.3

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/30540495?v=4)[b-hayes](/maintainers/b-hayes)[@b-hayes](https://github.com/b-hayes)

---

Top Contributors

[![b-hayes](https://avatars.githubusercontent.com/u/30540495?v=4)](https://github.com/b-hayes "b-hayes (14 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/b-hayes-json/health.svg)

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

###  Alternatives

[illuminate/console

The Illuminate Console package.

13046.0M6.4k](/packages/illuminate-console)[styleci/cli

The CLI tool for StyleCI

71470.5k9](/packages/styleci-cli)[winbox/args

Windows command-line formatter

20720.9k21](/packages/winbox-args)[tomatophp/filament-artisan

Simple but yet powerful library for running some artisan commands for FilamentPHP

3275.4k1](/packages/tomatophp-filament-artisan)

PHPackages © 2026

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