garlic/graphql-php-tools
Garlic GraphQL PHP Tools provides developer-friendly helpers for webonyx/graphql-php, simplifying schema setup, type definitions, and common GraphQL utilities so PHP developers can build and maintain APIs with less boilerplate.
Consider it only under narrow conditions:
webonyx/graphql-php and need lightweight schema stitching across a small, stable number of modules.Look elsewhere when:
webonyx/graphql-php’s own composition utilities are stronger bets.To executives: This is a small, thinly maintained open-source utility for combining GraphQL schemas in PHP. A patch release landed recently — a refactor plus a bug fix — which is mildly reassuring but does not change the risk profile: no adoption base, no support commitment. It validates that our “many domains, one graph” goal is achievable at low cost, but it is not a dependency I would put in front of customers. Recommendation unchanged: treat it as a design reference, budget days not weeks, and pick a maintained alternative for production. The strategic value is in confirming the architecture, not in the library.
To engineering: The capability we want is modular schema ownership with a merge step at build time. This package demonstrates the pattern in a few hundred lines. The 1.0.7 release is a patch — it is not a breaking change, adds no new capability, and tells us nothing about forward plans, PHP-version support, or GraphQL spec tracking. So the proposal stands: spike against it for two days to pressure-test our module boundaries, then either vendor a fork we own or adopt the composition path in webonyx/graphql-php / Lighthouse. One delta worth checking during the spike: diff 1.0.7 against whatever we pin, since an unannounced refactor in a dormant package is exactly where silent behavior changes hide. I still need one engineer to scope the fork cost so we make the build-vs-adopt call with real numbers rather than vibes.
How can I help you explore Laravel packages today?