madbob/easyrdf-on-guzzle
Provides a Guzzle-backed HTTP client adapter for EasyRdf, acting as a drop-in replacement for its default client so you can fetch and parse RDF resources through Guzzle's request handling, middleware, authentication, proxies, and timeout configuration while keeping EasyRdf's familiar API.
MockHandler allows deterministic tests of RDF fetching without network calls — a small but real argument for the adapter over EasyRDF's default client.Accept: text/turtle, application/ld+json;q=0.9), redirects, and non-200 handling as explicit product requirements rather than implicit assumptions.Adopt (or fork) when all of these hold:
Look elsewhere — or just write the adapter — when:
src/, pin a commit) or a clean-room reimplementation against EasyRDF's HttpClient interface.@context handling) — evaluate ml/json-ld or a dedicated JSON-LD processor instead of EasyRDF.Net: treat this as a tactical utility, not a strategic dependency. The opportunity score is low, and that is consistent with what it is — a convenience shim whose value is entirely derivative of the EasyRDF + Guzzle pairing.
For executives: This is a tiny integration library that would let our existing RDF tooling use the same HTTP client as the rest of the platform, so external data fetches inherit our standard retries, caching, authentication, and monitoring instead of running on a separate, less-observable path. Cost is near zero; risk is also near zero because the code is small enough to own outright if the upstream project stalls. It does not add a new vendor relationship or a new platform commitment — it removes a rough edge in a capability we either already have or are evaluating.
For engineering: EasyRDF's built-in HTTP client is the weak link in our Linked Data ingestion: no middleware, awkward testing, no shared auth or backoff. This package implements EasyRDF's HttpClient interface on top of Guzzle, so content-negotiated RDF retrieval flows through the same PSR-7/PSR-18 stack as every other outbound call. Concrete wins: MockHandler-based tests, retry/cache/logging middleware applied uniformly, async pools for multi-URI hydration, and one place to configure proxies and credentials. Given the project has no stars, no dependents, and one maintainer, we should vendor the source into our repo (or rewrite it against the interface) rather than depend on it at runtime — the surface is small enough that this is cheap. Recommendation: prototype against two real endpoints (a Turtle document and a SPARQL-backed resource) to confirm content negotiation and redirect handling, then decide vendor vs. reimplement.
How can I help you explore Laravel packages today?