phptcloud/symfony-jsend-bundle
Symfony bundle for JSend-compliant JSON responses. Standardize API output with consistent status, data, message and code fields, making client-side handling simpler. Integrates easily into Symfony controllers and services.
{"status": "success|fail|error", "data": ..., "message": ..., "code": ...}) for HTTP JSON responses. It supports decisions like "what envelope do our endpoints return," typically in the context of an API consistency or versioning epic.status + message for error UX, and prototyping where a pre-agreed spec short-circuits bikeshedding.composer require. Laravel's JsonResponse/response()->json() plus a small helper covers the same ground with no bundle wiring.Consider it when:
Look elsewhere or build in-house when:
JsonResponse helper replicates this with zero bundle wiring and zero third-party surface.Executive summary
status/data/message/code envelope instead of ad-hoc per-endpoint shapes.How can I help you explore Laravel packages today?