Laravel GraphQL
Code-first GraphQL integration for Laravel, built on webonyx/graphql-php.
Laravel GraphQL adds a code-first GraphQL server to a Laravel application. Types, queries and mutations are declared as PHP classes rather than in .graphql schema files, and each query or mutation is exposed as a request endpoint.
The package builds on webonyx/graphql-php, the PHP port of the GraphQL reference implementation. The README covers multiple schemas, data loading with dataloaders or the optional SelectFields package, validation, authorization and automatic persisted queries.
Worth knowing
GraphQL subscriptions are not supported. The README points to Lighthouse for real-time push.
Introspection is disabled by default in the configuration.
Identity
- Status
- Active
- Maintainer
- Mikk Mihkel Nurges3
- Maintained by
- Individual
- First release
- 20174
Rendering and deploy
- Install with
- composer2
Releases
Adoption
Sources
- 2026-11-16: links, Written in, GitHub stars
api.github.com/repos/rebing/graphql-laravel - 2026-11-16: links, Categories, Content API, Built on, Install with
github.com/rebing/graphql-laravel/blob/master/README.md - 2026-11-16: Maintainer, License, License model
raw.githubusercontent.com/rebing/graphql-laravel/master/LICENSE - 2026-11-16: First release
api.github.com/repos/rebing/graphql-laravel/commits/v1.4 - 2026-11-16: Runtime, Minimum runtime
raw.githubusercontent.com/rebing/graphql-laravel/10.2.0/composer.json - 2026-11-16: Current major version, Last release
github.com/rebing/graphql-laravel/releases/tag/10.2.0 - 2026-11-16: Packagist downloads, Packagist downloads a month
packagist.org/packages/rebing/graphql-laravel.json - 2026-11-16: Contributors
api.github.com/repos/rebing/graphql-laravel/contributors?per_page=1 - 2026-11-16: Dependent packages, Dependent repositories
packages.ecosyste.ms/api/v1/registries/packagist.org/packages/rebing%2Fgraphql-laravel