Installation

First you need to require thenuwave/lighthousepackage in yourcomposer.jsonfile

"require": {
    "nuwave/lighthouse": "0.9.*"
}

Or you can use the composer require command from your terminal

$ composer require nuwave/lighthouse

Add the service provider to your config/app.php file

Nuwave\Lighthouse\LaravelServiceProvider::class,

Add the GraphQL facade to your config/app.php file

'GraphQL' => Nuwave\Lighthouse\Support\Facades\GraphQLFacade::class,

Publish the package

$ php artisan vendor:publish --provider="Nuwave\Lighthouse\LaravelServiceProvider"

results matching ""

    No results matching ""