sycho/json-api
A Laravel/PHP package for building JSON:API-compliant APIs. It helps serialize resources, handle relationships and includes, and return standardized responses, making it easier to expose clean, spec-compliant endpoints with less boilerplate.
data/attributes/relationships/included, sparse fieldsets, pagination links) — useful for scoping that decision independent of the library itself.?include= conventions can reduce per-client fetching logic. This package is a cheap way to prototype those payloads and validate the ergonomics before committing engineering time.limit and filter parameters) is a useful reminder that query-parameter hardening, not payload shape, is where most of the real support burden lives.Consider it when:
Look elsewhere when:
limit/filter parsing — a correctness fix, not a validation framework.For executives (one paragraph): We're evaluating whether our APIs should follow the JSON:API standard, which would make integrations cheaper and give every client the same pagination, filtering, and relationship conventions. This specific package is evidence for that decision, not the recommendation: it shows the work required to emit compliant payloads is genuinely small, so the real question is whether we want the standard and who owns the serializer layer. I do not recommend shipping it as a production dependency — one maintainer, effectively dormant, no downstream users, and its latest release is a single one-line validation fix rather than a sign of active stewardship — but it remains a useful, MIT-licensed reference we can vendor or reimplement cheaply. Net: low cost either way, and the decision that matters is the standard, not the library.
For engineering:
limit and filter parameters — a genuine correctness fix for query handling, but not evidence of renewed maintenance. Do not read it as a stability signal; there are no new features, and no conformance or validation tooling for responses.Recommendation: Decide on JSON:API as a convention first (spike, ~1 sprint). If yes, choose a maintained implementation or vendor this code with a named owner; if no, stop here at near-zero cost.
How can I help you explore Laravel packages today?