Lighthouse GraphQL Server for Laravel
Lighthouse is a PHP package that allows you to serve a GraphQL endpoint from your Laravel application. It aims to reduce boilerplate code around creating a schema and integrates well with your existing Laravel application. According to the Lighthouse documentation, it supports a schema-first approach:
Lighthouse enables schema-first development by allowing you to use the native Schema Definition Language to describe your data. Leverage server-side directives to add functionality and bring your schema to life. With nothing more than this schema file (along w/ Eloquent models and migrations set up), you have a fully functional GraphQL server with no additional code! In addition to a bunch of built-in GraphQL directives, Lighthouse allows you to customize things to support any data requirements.
Read Full Article at https://laravel-news.com/lighthouse-graphql-server-for-laravel
Tags: addition, application, approach, boilerplate, definition, describe, development, documentation, eloquent, endpoint, functionality, graphql, language, laravel, leverage, lighthouse, nothing, package, schema, support