GraphQL Server for Laravel
Lighthouse is a PHP package that allows you to serve a GraphQL endpoint from your Laravel application. It greatly reduces the boilerplate required to create a schema, it integrates well with any Laravel project, and it's highly customizable giving you full control over your data.
Documentation for Lighthouse is located in the docs folder.
If you have an existing Laravel project, all you really need is two steps:
-
Install via
composer require nuwave/lighthouse
-
Define your schema in
routes/graphql/schema.graphql
We welcome contributions of any kind.
- Have a question? Hop into Slack
- Found a bug? Report a bug
- Need a feature? Open a feature request
- Want to improve Lighthouse? Read our contribution guidelines