halaxa/json-machine
Efficient, easy-to-use, and fast PHP JSON stream parser observed · 2026-10-16
Health v2 · maintenance only
69/100
- Activity 67
- Release rhythm 53
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 21
- age_days: 2906
- days_rel: 319
- days_push: 200
- n_releases_24m: 8
Adoption not part of the score
1332 stars · 76 forks observed · 2026-10-16
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
JSON Machine is a PHP library for memory-efficient streaming parsing of large JSON files and streams. It provides a simple iterator-based API as a drop-in replacement for json_decode when handling documents too big to fit in memory.
Use cases
- parse large json files without exhausting memory
- stream json api responses in php
- iterate over huge json arrays item by item
- extract a subtree from a big json document with json pointer
- process 500MB json export files
When to choose
- you need to parse JSON documents larger than available memory in PHP
- you want a simple foreach-based API over big JSON files or HTTP streams
- you need to parse streaming JSON responses from Guzzle or Symfony HttpClient
When to avoid
- you need random access to JSON items by index
- your JSON documents are small enough for json_decode
- you are not working in PHP
Facets
library · maturity stable
parser serialization streaming parsers files developer-tools php cli json-streaming memory-efficient json-pointer large-files data-engineering
1 source
- readme: https://github.com/halaxa/json-machine · fetched 2026-10-16 · ac7b1b85548d
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| halaxa/json-machine | main | 69 |
For agents
markdown · JSON · MCP: product_card(name="halaxa/json-machine")
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem