graphql in php and laravel • Lighthouse gives you superpowers • Great Resources • Queries and Mutations • GraphQL language basics • Using graphql in php and laravel • Lighthouse gives you superpowers • Great Resources Agenda Agenda
language for your API, and a server-side runtime for executing queries by using a type system you define for your data.” “GraphQL is a query language for your API, and a server-side runtime for executing queries by using a type system you define for your data.”
the data you need • Amazing flexibility • API documenation comes automatically • Strong typing for your query data • Request exactly the data you need • Amazing flexibility • API documenation comes automatically Boons on the frontend Boons on the frontend
Queries and mutation that provide structured access to business logic data Stack specific implement of Type definitions, Queries and mutation that provide structured access to business logic data
models and their relationships (like Eloquent), setting rules for accessing (like your read/show actions) and changing them (the RUD in cRUD). It is tool for describing your models and their relationships (like Eloquent), setting rules for accessing (like your read/show actions) and changing them (the RUD in cRUD).
is a “GRAPH” of your business logic’s resources. • Inputs are types • Outputs are types • Queries, Mutations … all types • The graphql schema is a “GRAPH” of your business logic’s resources. • Inputs are types • Outputs are types • Queries, Mutations … all types
to serve a GraphQL endpoint from your Laravel application. • Greatly reduces the boilerplate required • Integrates well with existing Laravel projects • Highly customizable • PHP package that allows you to serve a GraphQL endpoint from your Laravel application. • Greatly reduces the boilerplate required • Integrates well with existing Laravel projects • Highly customizable