enm/json-api-client
Abstract client-side PHP implementation of the JSON:API specification. Build requests with JsonApiClient using any PSR-18 HTTP client, execute them, and deserialize responses into documents and included resources via the bundled serializer and deserializer.
include, sparse fieldsets, pagination links, and relationship handling. It lets you estimate integration effort before committing to a bespoke client.enm family (enm/json-api-common, enm/json-api-server). Choosing JSON:API as your public contract implies needing a client like this for PHP consumers. That informs whether to standardize internal APIs on JSON:API at all versus simpler REST/GraphQL.Consider it when:
nyholm/psr7).Look elsewhere when:
laravel-json-api/cloudcreativity lineage, or enm/json-api-server with the same caveats).Http facade, gives you more longevity.Executive summary: enm/json-api-client is a small MIT-licensed PHP library that implements the client side of the JSON:API specification. It provides structured request builders and response deserialization (resources, relationships, includes, pagination, errors) on top of any PSR-18 HTTP client, so a Laravel app can talk to a JSON:API backend with less bespoke parsing code.
The honest caveat: it is archived, last released in August 2019, with 18 stars and zero known dependents. It is not a live dependency; it is a starting point or reference. Adopting it means forking it, validating it on current PHP/Laravel, and owning it.
Recommendation for engineering: use it to accelerate the first integration or to copy its document-model design, but do not treat it as a supported upstream. Budget a small fork-maintenance line item. If the integration is small, a thin typed client built directly on Laravel's HTTP client will likely cost less over 12 months than owning a fork.
Recommendation for product: it does not change what you can build — it shortens the path to consuming JSON:API services and clarifies the cost of choosing JSON:API as a contract. Treat it as an enabler for integration scope, not as a strategic dependency.
How can I help you explore Laravel packages today?