Amazon AppSync vs Lighthouse
Amazon AppSync
aws.amazon.comLighthouse
lighthouse-php.comSide by side
| Figure | Amazon AppSync | Lighthouse |
|---|---|---|
| Price from | $1/mo | Free |
| Free plan | — | Yes |
| Free trial | — | — |
| Open source | — | — |
| Web | Yes | — |
| API | Yes | Yes |
| Self-hosted | — | Yes |
| Plans published | 2 | 1 |
| Spec score · GraphQL Tools | 7.8 (#10) | 8.1 (#7) |
| Authentication | Built-in authorization modes include API keys, OIDC, Amazon Cognito, IAM, and Lambda authorizers. | It supports standard Laravel authentication mechanisms and can use Laravel Sanctum for API authentication. |
| Caching | Optional managed server-side caching uses selectable cache instance types billed at hourly rates without long-term commitments. | Parsed GraphQL queries can be cached using Laravel cache stores or local PHP files with OPcache. |
| Purpose | AWS AppSync connects applications to events, data, and AI models through GraphQL and pub/sub APIs. | Lighthouse is a framework for serving GraphQL from Laravel. |
Plans
In their own words
Amazon AppSync
Amazon AppSync has no write-up on Specifiction yet; its figures are above.
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.