39 | Lighthouse is a PHP package that allows you to serve a GraphQL 40 | endpoint from your Laravel application. It greatly reduces the 41 | boilerplate required to create a schema, integrates well 42 | with any Laravel project, and is highly customizable giving 43 | you full control over your data. 44 |
45 |55 | Lighthouse enables schema-first development by allowing you to use the native Schema Definition Language to describe your data. 56 | Leverage server-side directives to add functionality and bring your schema to life. 57 |
58 |59 | With nothing more than this schema file (along w/ Eloquent 60 | models and migrations set up), you have a fully functional 61 | GraphQL server with no additional code! But don't worry, you 62 | can extend Lighthouse to fit just about any data requirements. 63 | The docs will walk you through what directives are available, 64 | how to create your own directives and how to create your own 65 | resolvers, so let's get started! 66 |
67 | 68 |113 | Lighthouse provides you with a handful of helpful Schema 114 | Directives to get you up and running in no time. But it also 115 | allows you to create your own when needed. 116 |
117 |123 | Lighthouse integrates with your Laravel application without 124 | the need to re-write your entire domain. Just build a GraphQL 125 | schema on top of your current logic and start querying! 126 |
127 |133 | Eloquent is an extremely powerful ORM. Lighthouse leverages 134 | your current model relationships and creates optimized database queries. 135 |
136 |166 | Lighthouse dramatically reduces the 167 | amount of boilerplate needed to get a GraphQL project up and 168 | running. Many of the familiar concepts from Laravel are converted 169 | into Lighthouse directives, so you can reuse existing logic and 170 | work the way you are used to. 171 |
172 |173 | If you already have your models and 174 | migrations set up, it only takes minutes to get a GraphQL 175 | server up and running with Lighthouse! 176 |
177 | 178 |Have you made a plugin, tutorial or other related package?
42 | 45 |Are you using this project?
41 | 44 |New versions of this project are released every so often.
29 |{latestVersion} | 34 |35 | Documentation 36 | | 37 |38 | Release Notes 39 | | 40 |
---|
master | 49 |50 | 52 | Documentation 53 | 54 | | 55 |56 | Source Code 57 | | 58 |
---|
{version} | 69 |70 | 71 | Documentation 72 | 73 | | 74 |75 | Release Notes 76 | | 77 |
---|
83 | You can find past versions of this project on{' '} 84 | GitHub. 85 |
86 |