PHP code example of uroshcs / graphql-laravel-query-debug

1. Go to this page and download the library: Download uroshcs/graphql-laravel-query-debug library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

uroshcs / graphql-laravel-query-debug example snippets


Uroshcs\GraphQLQueryDebugger\DebuggerServiceProvider::class,

'schemas' => [
    'default' => [
        'query' => [
            // other query types
            'queries_executed' => Uroshcs\GraphQLQueryDebugger\GraphQL\QueriesExecutedQuery::class,
        ],
        // mutations, middleware
    ],
],

'types' => [
    // other types
    'query_executed' => Uroshcs\GraphQLQueryDebugger\GraphQL\QueryExecutedType::class,
],