garlic/graphql
garlic/graphql is a Laravel package for building GraphQL APIs in PHP. It helps define schemas and types, wire resolvers, and execute queries against your application, giving teams a structured way to expose Eloquent-backed data and custom logic through a single GraphQL endpoint.
Architecture fit
garlic/graphql but the repository is named graphql-bundle, which strongly suggests a Symfony bundle, not a Laravel package. That is a material mismatch with the stated "Laravel/PHP package" framing and must be resolved before any design work.Kernel, but only against the Symfony versions it was built for.Integration feasibility
composer require may succeed while runtime integration fails due to framework bootstrapping, autoload namespaces, or container wiring.webonyx/graphql-php and old Symfony/PHP constraints, which will collide with modern Laravel/Symfony dependency trees.Technical risk
Key questions
webonyx/graphql-php — schema stitching, service discovery, auth middleware, or client helpers?composer.json?Stack fit
webonyx/graphql-php directly, or API Platform on Symfony) are materially lower risk.Migration path
webonyx/graphql-php directly for framework-agnostic execution, Lighthouse for Laravel, or API Platform for Symfony.Compatibility
composer.json constraints for PHP, Symfony, and webonyx/graphql-php before anything else.Sequencing
composer.json, bundle class, and README; confirm framework and version targets.composer why-not against the target app; identify PHP/Symfony/GraphQL conflicts.webonyx and stop.Maintenance
webonyx/graphql-php security releases ourselves.Support
Scaling
graphql-php versions often lack modern protections (query depth limits, complexity analysis, persisted queries). We must add rate limiting, depth/complexity caps, and introspection restrictions at the gateway.Failure modes
Ramp-up
webonyx/graphql-php.How can I help you explore Laravel packages today?