composer require stayallive/lighthouse-graphql-hive
Publishing schemas directly from this extension is not enabled at the moment. You may publish the GraphQL schema using the Hive CLI, and then use usage reporting feature with this extension.
Add the following snippet to your
'graphqlhive' => [ 'enabled' => env('GRAPHQL_HIVE_ENABLED', false), 'token' => env('GRAPHQL_HIVE_TOKEN'), 'submitter' => env('GRAPHQL_HIVE_SUBMITTER'), 'queue' => env('GRAPHQL_HIVE_QUEUE'), ],
.env configure at least the following:
GRAPHQL_HIVE_ENABLED=true GRAPHQL_HIVE_TOKEN=<your Hive access token>