thecodingmachine/graphql-controllers
A PHP package for defining GraphQL APIs with controller classes: annotate methods to resolve queries, mutations, and fields, then wire them into a webonyx/graphql-php schema with dependency injection.
webonyx/graphql-php, the team can adopt this package to get a controller-based dispatch pattern out of the box. The PM decision is whether that abstraction is worth a dependency versus a small internal convention.webonyx/graphql-php; the team is small-to-mid and MVC-fluent; the GraphQL surface is a bounded, product-owned API (not a public multi-consumer platform); and speed-to-first-endpoint matters more than ecosystem maturity.webonyx/graphql-php and turns each GraphQL operation into a testable, injectable controller class — less resolver boilerplate, clearer code ownership, and familiar MVC ergonomics for anyone who's written Laravel controllers. We validate it behind an interface so we can swap to Lighthouse or a custom dispatcher if maintenance stalls.How can I help you explore Laravel packages today?