mrgoodbytes8667/response-bundle
A PHP package for building consistent HTTP responses. It offers reusable helpers for JSON payloads, error responses, and status codes, helping standardize controller output and keep APIs predictable across your application. Simple to configure and integrate into existing projects.
response-common and centralizes shared enums consumed by sibling "response-bundles." It surfaces as a decision only if we are already evaluating that author's bundle family.JsonResponse, HTTP status handling, and native enums in recent versions; Laravel ships API Resources and JsonResponse. The marginal value of this package over the framework baseline is a handful of enum constants plus a thin response-extension layer — still replicable in hours.NOASSERTION). v6.1.0 does not change any of that. Adopting it means adding an unvalidated transitive dependency to the graph — that is the actual decision on the table, not the enum content.Consider it only when all of the following hold:
response-common and at least one child response-bundle from the same author, and you want the shared enums without duplicating them locally.NOASSERTION means no declared SPDX identifier; that is a blocker for production use until reviewed, not a formality. v6.1.0 does not resolve this.Look elsewhere when:
JsonResponse / API Resources, and it drags Symfony bundle conventions into a stack that doesn't want them. Nothing in v6.1.0 changes this — the Doctrine ORM 3 allowance in particular only matters to a Symfony + Doctrine stack.What changed in v6.1.0 (and what didn't):
doctrine/orm ^3.0 is now allowed. Relevant only if we are on Symfony with Doctrine 3 — otherwise inert.getCreatedAt() on CreatedUpdatedEntityInterface can alter defaults for existing consumers of the trait/interface. It ships as a minor version bump (6.0.0 → 6.1.0), so treat it as possibly BC-affecting rather than safely inert; verify against our own usage before bumping.Executives: This is not a product bet, and the new release does not change that. There is no cost, no revenue impact, and no roadmap impact. Recommendation is unchanged — no action: we do not adopt it standalone. It is an internal helper living inside another author's bundle family; if a team already pulls response-common, it arrives for free, otherwise there is nothing here to buy, integrate, or staff. The v6.1.0 release is routine maintenance (a couple of enum additions, a Doctrine 3 allowance, small interface changes) and does not move the adoption signal: still 0 stars, 0 dependents, one maintainer, undeclared license. Low-risk call remains easy.
Engineering: A thin Symfony bundle that wraps response-common and shares enums with sibling response-bundles. On Laravel it is the wrong runtime — skip it, and note that the new Doctrine ORM ^3.0 support is irrelevant to a Laravel stack. On Symfony, it is only worth pulling if you already depend on the family; treat it as a pinned transitive rather than a direct dependency, and get legal sign-off first (NOASSERTION = license undeclared, not permissive-by-default). v6.1.0 is a minor bump but includes a change to CreatedUpdatedTrait defaults and adds getCreatedAt() to CreatedUpdatedEntityInterface — if we do consume it, read that diff before upgrading rather than assuming a patch-safe bump. Replicating the enum surface ourselves is still a few hours of work and removes a single-maintainer dependency from the graph entirely — that remains the recommended path unless we are already committed to the author's bundle family for other reasons.
How can I help you explore Laravel packages today?