A framework for serving GraphQL from Laravel.
Lighthouse is a GraphQL framework that integrates with your Laravel application. It combines the best ideas of both ecosystems. It solves common tasks with ease and offers flexibility when you need it.
If you make money using this project, please consider sponsoring its maintainer on GitHub Sponsors or the project on Patreon.
The documentation lives at lighthouse-php.com.
The site includes the latest docs for each major version of Lighthouse.
You can find docs for specific versions by looking at the contents of /docs/master at that point in the git history: https://github.com/nuwave/lighthouse/tree/<SPECIFIC-TAG>/docs/master.
- Have a question? Get your answer using GitHub discussions
- Talk to other users? Start a discussion
- Found a bug? Report a bug
- Have an idea? Propose a feature
- Want to improve Lighthouse? Read our contribution guidelines
Lighthouse follows Semantic Versioning.
Only the current major version receives new features and bugfixes.
Updating between minor versions does not require changes to PHP code or the GraphQL schema.
It also causes no breaking behavioral changes for consumers of the GraphQL API.
However, only code elements marked with @api remain compatible.
All other code in Lighthouse is internal and subject to change.
All notable changes to this project are documented in CHANGELOG.md.
When upgrading between major versions of Lighthouse, consider UPGRADE.md.