Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Graphql Php Tools Laravel Package

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.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Modular GraphQL architecture: Informing whether to expose a single composed GraphQL schema assembled from per-domain modules (catalog, billing, identity) versus one monolith schema file — this package’s core value proposition is schema merging and extension.
  • Incremental schema ownership: Deciding whether individual teams can own and ship their own type definitions while the platform merges them, enabling parallel delivery without a central schema bottleneck.
  • Build vs. buy vs. borrow: A concrete data point for the “do we write our own schema-composition layer?” decision. Still 1 star and effectively no dependents; the 1.0.7 release is a patch-level sign of life, not a maintenance cadence — the honest answer remains “borrow the concept, not the code.”
  • Platform/extension surfaces: Relevant if the product roadmap includes a plugin or extension model where third parties or internal teams extend a base schema — schema extension is exactly the mechanism for this.
  • Migration sequencing: Informs whether to phase a GraphQL gateway in before or after service decomposition; schema merging is a cheaper first step than full federation.
  • Technical due diligence on legacy stacks: Useful when inheriting a Laravel/PHP codebase that already depends on this pattern, to gauge replacement cost.

When to Consider This Package

Consider it only under narrow conditions:

  • You have a Laravel/PHP GraphQL service already built on webonyx/graphql-php and need lightweight schema stitching across a small, stable number of modules.
  • Your composition needs are static and build-time — merge at boot, not dynamic runtime federation.
  • The team accepts vendoring or forking the code. The 1.0.7 patch (“refactor and bug fix”) shows someone touched it, but there is still no published security policy, no stated support window, and no visible roadmap — treat maintenance as best-effort, not contractual.
  • The scope is small and internal, where a regression is cheap to detect and the blast radius is contained.

Look elsewhere when:

  • You need active security patching — a single patch release does not establish a patching commitment, and an unpinned schema-construction layer remains a supply-chain and correctness risk across PHP major-version upgrades.
  • You are evaluating GraphQL federation at scale — Apollo Federation, actively stewarded stitching libraries, or webonyx/graphql-php’s own composition utilities are stronger bets.
  • You are on Lighthouse — Lighthouse has its own schema/module conventions and mixing a third-party merge layer invites conflicts.
  • Your schema is customer-facing or contractually stable — you want a maintainer with a release cadence and support commitment you can point at in a vendor review.
  • You need runtime/query-planning composition — this is a build-time merge tool, not a gateway.

How to Pitch It (Stakeholders)

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.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console