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.
webonyx/graphql-php, not a framework-level solution, and it competes with native approaches (extendType, code-first builders) and with gateway-level options (stitching, Federation).graphql-php majors, and current Laravel versions. Principal risks: dependency constraints that pin you to an outdated graphql-php; no security response path; undocumented merge-conflict semantics that can silently drop or overwrite types and fields; and zero community to surface edge cases. Treat it as a source dependency you would own, not a maintained library.extend type blocks preserved? Which PHP and graphql-php versions are genuinely supported? Does it handle per-request or multi-tenant schema variation, and how does that interact with schema caching? What is the license, test coverage, and CI story? Is there a maintained alternative (native schema builders, stitching, Federation) that covers the same requirement?webonyx/graphql-php, whether via Lighthouse or a custom controller. Version compatibility is the gate: assume incompatibility with PHP 8.1+, Laravel 10+, and graphql-php v15 until proven otherwise in a lockfile-resolved install.GraphQLSchema type merging, extendType, or a code-first builder) rather than forcing the dependency.composer.lock, not the package's declared ranges; 2019-era constraints often resolve to versions that no longer work. Check PHP 8 deprecations, missing return types, and graphql-php API changes around type and field definition. Confirm whether a service provider ships and whether auto-discovery applies.graphql-php upgrades.How can I help you explore Laravel packages today?