nuwave / lighthouse
A framework for serving GraphQL from Laravel
Installs: 7 439 381
Dependents: 95
Suggesters: 4
Security: 0
Stars: 3 376
Watchers: 38
Forks: 438
Open Issues: 125
Requires
- php: ^8
- ext-json: *
- haydenpierce/class-finder: ^0.4 || ^0.5
- illuminate/auth: ^9 || ^10 || ^11
- illuminate/bus: ^9 || ^10 || ^11
- illuminate/contracts: ^9 || ^10 || ^11
- illuminate/http: ^9 || ^10 || ^11
- illuminate/pagination: ^9 || ^10 || ^11
- illuminate/queue: ^9 || ^10 || ^11
- illuminate/routing: ^9 || ^10 || ^11
- illuminate/support: ^9 || ^10 || ^11
- illuminate/validation: ^9 || ^10 || ^11
- laragraph/utils: ^1.5 || ^2
- thecodingmachine/safe: ^1 || ^2
- webonyx/graphql-php: ^15
Requires (Dev)
- algolia/algoliasearch-client-php: ^3
- bensampo/laravel-enum: ^5 || ^6
- dms/phpunit-arraysubset-asserts: ^0.4 || ^0.5
- ergebnis/composer-normalize: ^2.2.2
- fakerphp/faker: ^1.21
- google/protobuf: ^3.21
- larastan/larastan: ^2.6.1
- laravel/framework: ^9 || ^10 || ^11
- laravel/legacy-factories: ^1.1.1
- laravel/pennant: ^1
- laravel/scout: ^8 || ^9 || ^10 || ^11
- mattiasgeniar/phpunit-query-count-assertions: ^1.1
- mll-lab/graphql-php-scalars: ^6
- mll-lab/php-cs-fixer-config: ^5
- mockery/mockery: ^1.5
- nesbot/carbon: ^2.62.1
- orchestra/testbench: ^7.11 || ^8.8 || ^9
- phpbench/phpbench: ^1.2.6
- phpstan/extension-installer: ^1
- phpstan/phpstan: ^1.10.3
- phpstan/phpstan-mockery: ^1.1
- phpstan/phpstan-phpunit: ^1.1.1
- phpunit/phpunit: ^9.6.4 || ^10 || ^11
- predis/predis: ^1.1 || ^2.1
- pusher/pusher-php-server: ^5 || ^6 || ^7.0.2
- rector/rector: ^1
- thecodingmachine/phpstan-safe-rule: ^1.2
Suggests
- ext-protobuf: Improve protobuf serialization performance (used for tracing)
- google/protobuf: Required when using the tracing driver federated-tracing
- laravel/pennant: Required for the @feature directive
- laravel/scout: Required for the @search directive
- mll-lab/graphql-php-scalars: Useful scalar types, required for @whereConditions
- mll-lab/laravel-graphiql: A graphical interactive in-browser GraphQL IDE - integrated with Laravel
- pusher/pusher-php-server: Required when using the Pusher Subscriptions driver
- dev-master
- v6.47.0
- v6.46.0
- v6.45.1
- v6.45.0
- v6.44.2
- v6.44.1
- v6.44.0
- v6.43.1
- v6.43.0
- v6.42.2
- v6.42.1
- v6.42.0
- v6.41.1
- v6.41.0
- v6.40.0
- v6.39.0
- v6.38.1
- v6.38.0
- v6.37.1
- v6.37.0
- v6.36.3
- v6.36.2
- v6.36.1
- v6.36.0
- v6.35.0
- v6.34.1
- v6.34.0
- v6.33.4
- v6.33.3
- v6.33.2
- v6.33.1
- v6.33.0
- v6.32.0
- v6.31.1
- v6.31.0
- v6.30.0
- v6.29.1
- v6.29.0
- v6.28.0
- v6.27.0
- v6.26.1
- v6.26.0
- v6.25.0
- v6.24.0
- v6.23.2
- v6.23.1
- v6.23.0
- v6.22.0
- v6.21.0
- v6.20.0
- v6.19.0
- v6.18.2
- v6.18.1
- v6.18.0
- v6.17.0
- v6.16.2
- v6.16.1
- v6.16.0
- v6.15.0
- v6.14.0
- v6.13.0
- v6.12.0
- v6.11.0
- v6.10.1
- v6.10.0
- v6.9.2
- v6.9.1
- v6.9.0
- v6.8.1
- v6.8.0
- v6.7.0
- v6.6.1
- v6.6.0
- v6.5.0
- v6.4.0
- v6.3.1
- v6.3.0
- v6.2.1
- v6.2.0
- v6.1.0
- v6.0.0
- v6.0.0-beta.4
- v6.0.0-beta.3
- v6.0.0-beta.2
- v6.0.0-beta.1
- v6.0.0-alpha.2
- v6.0.0-alpha.1
- 5.x-dev
- v5.72.0
- v5.71.0
- v5.70.3
- v5.70.2
- v5.70.1
- v5.70.0
- v5.69.1
- v5.69.0
- v5.68.1
- v5.68.0
- v5.67.0
- v5.66.0
- v5.65.0
- v5.64.1
- v5.64.0
- v5.63.1
- v5.63.0
- v5.62.0
- v5.61.0
- v5.60.0
- v5.59.0
- v5.58.2
- v5.58.1
- v5.58.0
- v5.57.6
- v5.57.5
- v5.57.4
- v5.57.3
- v5.57.2
- v5.57.1
- v5.57.0
- v5.56.0
- v5.55.1
- v5.55.0
- v5.54.0
- v5.53.0
- v5.52.1
- v5.52.0
- v5.51.1
- v5.51.0
- v5.50.0
- v5.49.0
- v5.48.2
- v5.48.1
- v5.48.0
- v5.47.1
- v5.47.0
- v5.46.2
- v5.46.1
- v5.46.0
- v5.45.4
- v5.45.3
- v5.45.2
- v5.45.1
- v5.45.0
- v5.44.1
- v5.44.0
- v5.43.0
- v5.42.3
- v5.42.2
- v5.42.1
- v5.42.0
- v5.41.0
- v5.40.1
- v5.40.0
- v5.39.2
- v5.39.1
- v5.39.0
- v5.38.2
- v5.38.1
- v5.38.0
- v5.37.2
- v5.37.1
- v5.37.0
- v5.36.0
- v5.35.3
- v5.35.2
- v5.35.1
- v5.35.0
- v5.34.0
- v5.33.1
- v5.33.0
- v5.32.0
- v5.31.3
- v5.31.2
- v5.31.1
- v5.31.0
- v5.30.0
- v5.29.0
- v5.28.1
- v5.28.0
- v5.27.3
- v5.27.2
- v5.27.1
- v5.27.0
- v5.26.1
- v5.26.0
- v5.25.1
- v5.25.0
- v5.24.0
- v5.23.1
- v5.23.0
- v5.22.5
- v5.22.4
- v5.22.3
- v5.22.2
- v5.22.1
- v5.22.0
- v5.21.0
- v5.20.0
- v5.19.0
- v5.18.1
- v5.18.0
- v5.17.0
- v5.16.2
- v5.16.1
- v5.16.0
- v5.15.2
- v5.15.1
- v5.15.0
- v5.14.0
- v5.13.1
- v5.13.0
- v5.12.7
- v5.12.6
- v5.12.5
- v5.12.4
- v5.12.3
- v5.12.2
- v5.12.1
- v5.12.0
- v5.11.0
- v5.10.0
- v5.9.1
- v5.9.0
- v5.8.2
- v5.8.1
- v5.8.0
- v5.7.2
- v5.7.1
- v5.7.0
- v5.6.2
- v5.6.1
- v5.6.0
- v5.5.1
- v5.5.0
- v5.4.0
- v5.3.0
- v5.2.0
- v5.1.0
- v5.0.2
- v5.0.1
- v5.0.0
- v5.0-beta.3
- v5.0-beta.2
- v5.0-beta.1
- v5.0-alpha.4
- v5.0-alpha.3
- v5.0-alpha.2
- v5.0-alpha.1
- 4.x-dev
- v4.18.0
- v4.17.0
- v4.16.3
- v4.16.2
- v4.16.1
- v4.16.0
- v4.15.0
- v4.14.1
- v4.14.0
- v4.13.1
- v4.13.0
- v4.12.4
- v4.12.3
- v4.12.2
- v4.12.1
- v4.12.0
- 4.11.0
- 4.10.2
- v4.10.1
- v4.10.0
- v4.9.0
- v4.8.1
- v4.8.0
- v4.7.2
- v4.7.1
- v4.7.0
- v4.6.0
- v4.5.3
- v4.5.2
- v4.5.1
- v4.5.0
- v4.4.2
- v4.4.1
- v4.4.0
- v4.3.0
- v4.2.1
- v4.2.0
- v4.1.1
- v4.1.0
- v4.0.0
- v4.0-beta.2
- v4.0-beta.1
- v4.0-alpha.3
- v4.0-alpha.2
- v4.0-alpha.1
- 3.x-dev
- v3.7.0
- v3.6.1
- v3.6.0
- v3.5.3
- v3.5.2
- v3.5.1
- v3.5.0
- v3.4.0
- v3.3.0
- v3.2.1
- v3.2.0
- v3.1.0
- v3.0.0
- v3.0-beta.4
- v3.0-beta.3
- v3.0-beta.2
- v3.0-beta.1
- v3.0-alpha.2
- v3.0-alpha.1
- 2.x-dev
- v2.6.4
- v2.6.3
- v2.6.2
- v2.6.1
- v2.6.0
- v2.5.0
- v2.4.0
- v2.3.1
- v2.3
- v2.2.x-dev
- v2.2.1
- v2.2
- v2.2-beta.1
- v2.2-alpha.1
- v2.1.x-dev
- v2.1.2
- v2.1.1
- v2.1
- v2.1-rc
- v2.1-beta.9
- v2.1-beta.8
- v2.1-beta.7
- v2.1-beta.6
- v2.1-beta.5
- v2.1-beta.4
- v2.1-beta.3
- v2.1-beta.2
- v2.1-beta.1
- v2.0.x-dev
- v2.0.5
- v2.0.4
- v2.0.3
- v2.0.2
- v2.0.1
- v2.0.0
- v2.0-beta.3.11
- v2.0-beta.3.10
- v2.0-beta.3.9
- v2.0-beta.3.8
- v2.0-beta.3.7
- v2.0-beta.3.6
- v2.0-beta.3.5
- v2.0-beta.3.4
- v2.0-beta.3.3
- v2.0-beta.3.2
- v2.0-beta.3.1
- v2.0-beta.3
- v2.0-beta.2
- v2.0-beta.1
- v1.1.0
- v1.0.3
- v1.0.2
- v1.0.1
- v1.0.0
- v0.7.8
- v0.7.7
- v0.7.6
- v0.7.5
- v0.7.4
- v0.7.3
- v0.7.2
- v0.7.1
- v0.7.0
- v0.6.6
- v0.6.5
- v0.6.4
- v0.6.3
- v0.6.2
- v0.6.1
- v0.6.0
- v0.5.0
- v0.4.3
- v0.4.2
- v0.4.1
- v0.4.0
- v0.3.0
- v0.2.0
- v0.1.0
- dev-reverb-broadcasting-driver
- dev-expose-query-complexity
- dev-with-directive-multiple-nested-relations
- dev-fix-subscription-enum-value
- dev-lazy-root-types
- dev-feature/refactor-builder-types
- dev-feature/subscription-graphql-ws
- dev-audit
- dev-void
- dev-nodelist-array-access
- dev-faster-directive-locator
- dev-polymorphic-scopes
- dev-validate-connect-non-existing
- dev-constrain-where-conditions-relations
- dev-combine-to-many-nested-relation-loads
- dev-generate-resolvers
- dev-directive-model-class-error
- dev-void-null
- dev-mget-empty-values-fix
- dev-validate-duplicate-registered-type
- dev-simplify-field-middleware-and-resolvers
- dev-optional-root-query-type
- dev-stayallive-patches
This package is auto-updated.
Last update: 2024-12-11 11:06:11 UTC
README
Lighthouse
A framework for serving GraphQL from Laravel
Lighthouse is a GraphQL framework that integrates with your Laravel application. It takes the best ideas of both and combines them to solve common tasks with ease and offer flexibility when you need it.
Documentation
The documentation lives at lighthouse-php.com.
The site includes the latest docs for each major version of Lighthouse.
You can find docs for specific versions by looking at the contents of /docs/master
at that point in the git history: https://github.com/nuwave/lighthouse/tree/<SPECIFIC-TAG>/docs/master
.
Get involved
- Have a question? Get your answer using GitHub discussions
- Talk to other users? Start a discussion
- Found a bug? Report a bug
- Have an idea? Propose a feature
- Want to improve Lighthouse? Read our contribution guidelines
Versioning
Lighthouse follows Semantic Versioning.
Only the current major version receives new features and bugfixes.
Updating between minor versions will not require changes to PHP code or the GraphQL schema
and cause no breaking behavioural changes for consumers of the GraphQL API.
However, only code elements marked with @api
will remain compatible - all other code in
Lighthouse is considered internal and is thus subject to change.
Changelog
All notable changes to this project are documented in CHANGELOG.md
.
Upgrade Guide
When upgrading between major versions of Lighthouse, consider UPGRADE.md
.
Contributing
We welcome contributions of any kind, see how in CONTRIBUTING.md
.
Security Vulnerabilities
If you discover a security vulnerability within Lighthouse, please email Benedikt Franke via benedikt@franke.tech.
Sponsors
Lighthouse is supported by its awesome sponsors.
If you want to support the development of Lighthouse and see your logo there, consider sponsoring.