Registry / web-framework / nuwave-lighthouse

nuwave-lighthouse

JSON →
library6.64.3phppackagistunverified

A framework for serving GraphQL from Laravel.

composer require nuwave/lighthouse
INSTALL
IMPORT
SIG · NUWAVE-LIGHTHOUSE
N
nuwave-lighthouse
web-frameworkphpv6.64.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

GraphQL
use Nuwave\Lighthouse\GraphQL;

Execute a GraphQL query using Lighthouse.

use Nuwave\Lighthouse\GraphQL; $graphql = app(GraphQL::class); $result = $graphql->executeQuery('query { users { id name } }'); return $result->jsonSerialize();
Debug
Known issues
gotchaRequires Laravel and may conflict with other GraphQL libraries.
fix
Ensure no other GraphQL packages are installed; use Lighthouse's schema directives.
affects: >=5.0
Upgrade
Version history
6.64.3latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
nuwave-lighthouse — pip install nuwave-lighthouse · libregistry