Skip to content
SPECIFICTION
Get listed

async-graphql vs Lighthouse

async-graphql

github.com

Lighthouse

lighthouse-php.com

Side by side

Figureasync-graphqlLighthouse
Price from—Free
Free plan—Yes
Free trial——
Open source——
API—Yes
Self-hostedYesYes
Plans published01
Spec score · GraphQL Tools7.2 (#19)8.1 (#7)
Purposeasync-graphql is a high-performance, specification-compliant GraphQL server library implemented in Rust.Lighthouse is a framework for serving GraphQL from Laravel.
Schema definitionYou can define a schema in Rust, and procedural macros automatically generate code for a GraphQL query.It uses GraphQL Schema Definition Language (SDL) and server-side directives to describe data and add functionality.

Plans

async-graphql

No plans published.

async-graphql pricing →

Lighthouse

  • LighthouseFree

Lighthouse pricing →

In their own words

async-graphql

async-graphql has no write-up on Specifiction yet; its figures are above.

Visit github.com

Lighthouse

Lighthouse is a framework for serving GraphQL from an existing Laravel application. It uses GraphQL Schema Definition Language and server-side directives to describe data and add behavior, while reusing Laravel concepts and Eloquent models. Built-in directives can create records, resolve relationships, apply query constraints, paginate results, and validate fields and arguments. Developers can add custom directives for reusable behavior, while the @can directive family can use Laravel Policies to restrict field operations. The default endpoint is `/graphql`, and any GraphQL client can use it. Lighthouse also supports standard Laravel authentication mechanisms, including Sanctum, and GraphQL subscriptions for event updates. Parsed queries can be cached with Laravel cache stores or local PHP files using OPcache; Automatic Persisted Queries are supported with Apollo compatibility. Installation uses Composer in a Laravel or Lumen project. The package is free and self-hosted. GraphQL tooling such as GraphiQL is not included, and federation support is experimental and cannot serve as a federation gateway.

Visit lighthouse-php.com