enm/json-api-client-bundle
Symfony integration for enm/json-api-client that lets you configure JSON:API clients in YAML and exposes each as a private service named enm.json_api_client.YOUR_CLIENT_NAME. Works with any PSR-18 HTTP client, such as Buzz with Nyholm PSR-7.
swisnl/json-api-client, Symfony HttpClient + a typed DTO mapper) rather than adopt this specific bundle.bundles.php, one YAML block with named clients, private DI services enm.json_api_client.YOUR_CLIENT_NAME). That makes it a low-effort way to validate JSON:API feasibility before committing to a vendor or platform.Consider (briefly, with caveats) when:
kriswallsmith/buzz + nyholm/psr7) so the transport layer is swappable.Look elsewhere when:
swisnl/json-api-client or a maintained equivalent.To executives (in one paragraph): We found a small, MIT-licensed Symfony helper for talking to JSON:API backends. It could shorten a prototype by a few days, but the project is archived, has no users, and no maintainers, so it is a tactical, throwaway tool — not a strategic dependency. Recommendation: use it (or its patterns) only for a time-boxed spike; for anything on the roadmap beyond a demo, budget for a maintained library or a small in-house client so we avoid carrying an unmaintained dependency into production.
To engineering:
EnmJsonApiClientBundle, reads a YAML clients map, and exposes each client as a private DI service (enm.json_api_client.<name>), so it's injectable but not service-locator-accessible.buzz + nyholm/psr7 recommended) without touching calling code.How can I help you explore Laravel packages today?