Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Lighthouse Laravel Package

nuwave/lighthouse

Lighthouse is a Laravel-first GraphQL server framework. Define your schema, wire resolvers, and handle common tasks like validation, auth, pagination, and Eloquent integration, with flexibility for custom GraphQL needs.

View on GitHub
Deep Wiki
Context7
v6.66.0
v6.65.0

Added

v6.64.3

Fixed

v6.64.2

Fixed

v6.64.1

Fixed

v6.64.0

Added

v6.63.2

Fixed

v6.63.1

Fixed

v6.63.0

Added

Deprecated

v6.62.3

Fixed

v6.62.2

Changed

v6.62.1

Fixed

v6.62.0

Changed

Deprecated

v6.61.1

Fixed

v6.61.0

Added

v6.60.0

Changed

v6.59.0

Added

v6.58.0

Changed

v6.57.1

Changed

v6.57.0

Changed

v6.56.1

Fixed

v6.56.0

Added

v6.55.0

Added

v6.54.0
v6.53.0

Added

v6.52.1

Fixed

v6.52.0

Added

v6.51.2

Fixed

v6.51.1

Fixed

  • Update generated code in Nuwave\Lighthouse\Tracing\FederatedTracing\Proto
v6.51.0

Fixed

Changed

v6.50.0

Added

v6.9.2

Fixed

  • Fix DirectiveLocator assertion
v6.9.1

Fixed

v6.9.0

Added

v6.8.1

Fixed

  • Fix scalar.stub return type
v6.8.0

Added

v6.7.0

Added

v6.6.1

Fixed

v6.6.0

Fixed

v6.5.0

Added

v6.49.1

Fixed

v6.49.0

Added

v6.48.0

Added

v6.47.1

Fixed

v6.47.0

Added

v6.46.0

Added

v6.45.0

Added

v6.44.2

Fixed

v6.44.1

Fixed

v6.44.0

Added

v6.43.1

Changed

v6.43.0

Added

v6.42.2

Fixed

v6.42.1

Changed

v6.42.0

Added

v6.41.1

Fixed

v6.41.0

Added

v6.40.0

Added

v6.4.0

Added

v6.39.0

Added

  • Add directives [@createMany](https://github.com/createMany), [@updateMany](https://github.com/updateMany) and [@upsertMany](https://github.com/upsertMany) to mutate multiple models at once https://github.com/nuwave/lighthouse/pull/2578

Changed

v6.38.1

Fixed

v6.38.0

Added

v6.37.1

Fixed

v6.37.0

Changed

v6.36.3

Fixed

v6.36.2

Changed

v6.36.1

Fixed

v6.36.0
v6.35.0

Added

v6.34.1

Fixed

v6.34.0

Added

v6.33.4

Fixed

v6.33.3

Fixed

v6.33.2

Fixed

v6.33.1

Fixed

v6.33.0

Added

v6.32.0

Added

Changed

Fixed

v6.31.1

Fixed

  • Fix [@limit](https://github.com/limit) directive definition
v6.31.0

Added

v6.30.0

Added

v6.3.1

Fixed

  • Leverage relations for resolving composite object [@key](https://github.com/key) in default model entity resolver for federation
v6.3.0

Added

v6.29.1

Fixed

v6.29.0

Fixed

v6.28.0

Added

v6.27.0

Added

v6.26.1

Fixed

v6.26.0

Added

v6.25.0

Added

v6.24.0

Added

v6.23.2

Fixed

v6.23.1

Fixed

  • Fix FieldResolver directive stubs
v6.23.0

Added

v6.22.0

Added

v6.21.0

Added

v6.20.0

Added

Fixed

v6.2.1

Fixed

v6.2.0

Changed

  • Automatically set up test traits RefreshSchemaCache and TestsSubscriptions
v6.19.0

Added

v6.18.2

Fixed

v6.18.1

Fixed

v6.18.0

Added

v6.17.0

Added

v6.16.2

Fixed

v6.16.1

Fixed

v6.16.0

Changed

v6.15.0

Added

v6.14.0

Added

v6.13.0

Added

v6.12.0

Changed

v6.11.0

Added

v6.10.1

Fixed

v6.10.0

Added

v6.1.0

Added

v6.0.0

Changed

Fixed

Added

Removed

  • Remove mixin TestResponse::assertGraphQLErrorCategory()
  • Remove class Nuwave\Lighthouse\Exceptions\GenericException
  • Remove error extension field category
  • Remove interface Nuwave\Lighthouse\Exceptions\RendersErrorsExtensions
  • Remove Nuwave\Lighthouse\Execution\ExtensionErrorHandler
  • Remove support for PHP 7.2, 7.3, 7.4
  • Remove support for Laravel 5, 6, 7, 8
  • Remove Serializable implementation
  • Remove trait ClearsSchemaCache
  • Remove config option lighthouse.unbox_bensampo_enum_enum_instances
  • Remove ArgumentSet::enhanceBuilder(), use ResolveInfo::enhanceBuilder()
  • Remove the globalId argument from [@delete](https://github.com/delete), [@forceDelete](https://github.com/forceDelete) and [@restore](https://github.com/restore) https://github.com/nuwave/lighthouse/pull/2289
  • Remove MockResolver
  • Remove deprecated BatchLoader::forgetInstances() in GraphQL
  • Remove method check for Illuminate\Foundation\Exceptions\Handler::renderable
  • Remove setting non_null_pagination_results and always behave as if it were true
  • Remove Nuwave\Lighthouse\Subscriptions\Contracts\StoresSubscriptions::subscriberByRequest()
  • Remove deprecated methods from FieldValue
  • Remove deprecated GraphQL::executeQuery() and GraphQL::prepSchema()
  • Remove [@field](https://github.com/field) directive argument args https://github.com/nuwave/lighthouse/pull/1706
  • Remove schema caching v1 https://github.com/nuwave/lighthouse/pull/2321
  • Do not register ScoutServiceProvider by default
  • Remove alias/Facade graphql
  • Remove subscriptions version 1
  • Remove MiddlewareAdapter https://github.com/nuwave/lighthouse/pull/2358
v5.9.1

Fixed

v5.9.0

Added

Changed

v5.8.2

Fixed

v5.8.1

Fixed

v5.8.0

Added

v5.72.0

Added

v5.71.0

Added

  • Support Laravel 10
v5.70.3

Fixed

  • Allow Illuminate\Http\UploadedFile in test helper multipartGraphQL() argument array $files
v5.70.2

Fixed

v5.70.1

Fixed

v5.70.0

Added

  • Allow configuring regular expression constraints for the registered route with lighthouse.route.where
v5.7.2

Fixed

v5.7.1

Fixed

v5.7.0

Added

v5.69.1

Fixed

  • Wrap base ResolveInfo class and extend it with public ArgumentSet $argumentSet in response to PHP 8.2 deprecating dynamic properties
v5.69.0

Added

v5.68.1

Fixed

v5.68.0

Added

Fixed

v5.67.0

Added

v5.66.0

Added

v5.65.0

Added

v5.64.1

Fixed

v5.64.0

Changed

v5.63.1

Fixed

v5.63.0

Added

v5.62.0

Changed

v5.61.0

Added

v5.60.0

Added

v5.6.2

Changed

v5.6.1

Fixed

v5.6.0

Added

v5.59.0

Added

v5.58.2

Fixed

v5.58.1

Fixed

v5.58.0

Added

v5.57.6

Fixed

v5.57.5

Fixed

v5.57.4

Fixed

v5.57.3

Fixed

v5.57.2

Fixed

v5.57.1

Fixed

v5.57.0

Added

Fixed

v5.56.0

Added

v5.55.1

Fixed

v5.55.0

Changed

v5.54.0

Changed

v5.53.0

Changed

v5.52.1

Fixed

v5.52.0

Added

v5.51.1

Fixed

v5.51.0

Added

v5.50.0

Added

v5.5.1

Fixed

v5.5.0

Fixed

Added

v5.49.0

Added

v5.48.2

Fixed

v5.48.1

Fixed

v5.48.0

Changed

v5.47.1

Fixed

v5.47.0

Added

Fixed

v5.46.2

Fixed

v5.46.1

Fixed

  • Distinguish between client-safe and non-client-safe errors in TestResponse::assertGraphQLError()
v5.46.0

Added

v5.45.4

Fixed

v5.45.3

Fixed

v5.45.2

Fixed

v5.45.1

Fixed

v5.45.0

Added

v5.44.1

Changed

v5.44.0

Changed

v5.43.0

Added

v5.42.3

Fixed

  • Improve error message when passing non-existing class-string to LaravelEnumType
v5.42.2

Fixed

v5.42.1

Fixed

v5.42.0

Added

v5.41.0

Added

Fixed

Deprecated

v5.40.1

Fixed

v5.40.0

Added

  • Support Laravel 9
v5.4.0

Added

Changed

Fixed

Deprecated

v5.39.2

Fixed

v5.39.1

Fixed

v5.39.0

Added

v5.38.2

Fixed

v5.38.1

Fixed

v5.38.0

Added

v5.37.2

Fixed

v5.37.1

Fixed

v5.37.0

Changed

v5.36.0

Added

Deprecated

v5.35.3

Fixed

  • Fix thecodingmachine/safe version constraint

Fixed

v5.35.2

Fixed

v5.35.1

Fixed

v5.35.0

Added

  • Shortcut [@belongsTo](https://github.com/belongsTo) and [@morphTo](https://github.com/morphTo) if the client only selects the ID of the relation
v5.34.0

Added

v5.33.1

Fixed

v5.33.0

Added

Fixed

Changed

v5.32.0

Added

v5.31.3

Fixed

v5.31.2

Fixed

v5.31.1

Fixed

v5.31.0

Added

v5.30.0

Added

  • Mixin method assertGraphQLErrorFree() to Illuminate\Testing\TestResponse

Fixed

  • Add missing types to programmatic-types.graphql in artisan command lighthouse:ide-helper
v5.3.0

Added

Changed

Fixed

v5.29.0

Added

v5.28.1

Added

  • Improve error message when calling TestResponse::assertGraphQLErrorMessage() on successful response
v5.28.0

Added

v5.27.3

Fixed

v5.27.2

Fixed

v5.27.1

Changed

v5.27.0

Fixed

Deprecated

v5.26.1

Changed

v5.26.0

Added

  • Allow specifying headers in MakesGraphQLRequests and MakesGraphQLRequestsLumen test helpers
  • Render GraphQL\Error\ClientAware exceptions outside GraphQL context with extensions content

Fixed

  • Do not batchload relations with different database connections
v5.25.1

Fixed

v5.25.0

Added

Deprecated

v5.24.0

Added

Changed

Fixed

Deprecated

v5.23.1

Fixed

v5.23.0

Added

v5.22.5

Fixed

  • Allow Laravel default guard to be null for applications that do not use auth at all
v5.22.4

Fixed

Changed

v5.22.3

Fixed

v5.22.2

Fixed

v5.22.1

Fixed

v5.22.0

Added

v5.21.0

Added

v5.20.0

Added

v5.2.0

Added

Changed

Fixed

Deprecated

  • Specify [@guard](https://github.com/guard)(with: "api") should be changed to [@guard](https://github.com/guard)(with: ["api"])https://github.com/nuwave/lighthouse/pull/1705
v5.19.0

Added

v5.18.1

Fixed

v5.18.0

Changed

v5.17.0

Added

v5.16.2

Fixed

v5.16.1
v5.16.0

Added

v5.15.3

Changed

v5.15.2

Fixed

v5.15.1

Fixed

v5.15.0

Added

v5.14.0

Added

v5.13.1

Fixed

v5.13.0

Added

Changed

v5.12.7

Fixed

v5.12.6

Fixed

v5.12.5

Fixed

v5.12.4

Fixed

v5.12.3

Fixed

v5.12.2

Fixed

v5.12.1

Fixed

v5.12.0

Added

v5.11.0

Added

v5.10.0

Added

Changed

v5.1.0

Added

Changed

Deprecated

Fixed

v5.0.2

Fixed

v5.0.1

Fixed

  • Make [@model](https://github.com/model) not extend [@node](https://github.com/node) accidentally

Deprecated

  • Deprecate Nuwave\Lighthouse\Subscriptions\Subscriber::setRoot() in favour of property access
v5.0.0

Added

Changed

Removed

Fixed

Deprecated

  • Deprecate values for the type argument of [@paginate](https://github.com/paginate) that are not PAGINATOR or CONNECTION
v4.9.0

Added

Fixed

Deprecated

  • Deprecate Nuwave\Lighthouse\Schema\Source\SchemaSourceProvider#setRootPath(), this function is never called or used anywhere within Lighthouse. It will be removed from the interface.
v4.8.1

Fixed

  • Avoid erasing the model information from the wrapping paginated results type when defining a paginated [@hasMany](https://github.com/hasMany) field after a field with [@paginate](https://github.com/paginate) https://github.com/nuwave/lighthouse/pull/1149
v4.8.0

Added

Changed

Fixed

Deprecated

Removed

v4.7.2

Fixed

v4.7.1

Changed

Fixed

v4.7.0

Added

Changed

v4.6.0

Added

Changed

Fixed

v4.5.3

Fixed

v4.5.2

Fixed

v4.5.1

Fixed

v4.5.0

Added

Fixed

v4.4.2

Added

  • Validate the correctness of the builder given to [@paginate](https://github.com/paginate) at schema build time

Fixed

v4.4.1

Fixed

v4.4.0

Added

Fixed

Changed

Fixed

Deprecated

v4.3.0

Added

Fixed

Changed

  • Validate requirements for argument definitions of [@delete](https://github.com/delete), [@forceDelete](https://github.com/forceDelete) and [@restore](https://github.com/restore) during schema build time https://github.com/nuwave/lighthouse/pull/941
v4.2.1

Fixed

v4.2.0

Added

v4.18.0

Added

v4.16.3

Fixed

  • Fix the type hint in GraphQLContext::user()
v4.16.2

Fixed

  • Provide the definition for [@nest](https://github.com/nest)
v4.16.1

Fixed

v4.16.0

Added

Changed

Fixed

Deprecated

v4.15.0

Added

Changed

  • Eager load relationship count in [@count](https://github.com/count) directive https://github.com/nuwave/lighthouse/pull/1390
  • Simplify the default field resolver classes generated by the artisan commands lighthouse:query and lighthouse:mutation, add option --full to include the seldom needed resolver arguments $context and $resolveInfo

Fixed

v4.14.1

Fixed

  • Safeguard deletion of programmatic-types.graphql in artisan lighthouse:ide-helper
v4.14.0

Added

Fixed

Deprecated

  • Nuwave\Lighthouse\Support\Contracts\DefinedDirective::definition() will be moved to Nuwave\Lighthouse\Support\Contracts\Directive and replace its name() method. This requires all directives to have an SDL definition.
v4.13.1

Fixed

v4.13.0

Added

Changed

Deprecated

v4.12.4

Fixed

v4.12.3

Changed

v4.12.2

Fixed

Changed

v4.12.1

Fixed

v4.12.0

Added

Fixed

Changed

v4.11.0

Added

Fixed

v4.10.2

Fixed

Changed

v4.10.1

Fixed

v4.10.0

Added

Deprecated

v4.1.1

Fixed

v4.1.0

Added

  • Add the [@whereJsonContains](https://github.com/whereJsonContains) directive to an input value as a whereJsonContains filter
  • Allow using callable classes with __invoke when referencing methods in directives and when looking for default resolvers or type resolvers https://github.com/nuwave/lighthouse/issues/882
  • Allow to restrict column names to a well-defined list in [@whereContraints](https://github.com/whereContraints) and generate definitions for an Enum type and an Input type that are restricted to the defined columns https://github.com/nuwave/lighthouse/pull/916
  • Add test helpers for introspection queries to MakesGraphQLRequests https://github.com/nuwave/lighthouse/pull/916

Deprecated

Fixed

v4.0.0

Added

Fixed

Changed

Removed

Deprecated

  • The configuration option pagination_amount_argument will be removed in v5
v3.7.0

Added

Fixed

Deprecated

  • The GraphQL facade and the container alias graphql will be removed in v4
v3.6.1

Fixed

v3.6.0

Added

Deprecated

v3.5.3

Fixed

v3.5.2

Fixed

Deprecated

  • The class SubscriptionExceptionHandler will be moved to the namespace Nuwave\Lighthouse\Subscriptions\Contracts
v3.5.1

Fixed

v3.5.0

Changed

Deprecated

  • The pagination field argument that controls the amount of results will default to first instead of count in v4. The config pagination_amount_argument can be used to change the argument name now https://github.com/nuwave/lighthouse/pull/752

Fixed

v3.4.0

Added

v3.3.0

Added

Deprecated

v3.2.1

Changed

v3.2.0

Added

v3.1.0

Added

Deprecated

v3.0.0

Added

Changed

Fixed

Removed

Pre-v3

We just started maintaining a changelog starting from v3.

If someone wants to make one for previous versions, pull requests are welcome.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport