graphql-by-pop/graphiql

GraphiQL client for GraphQL by PoP

Installs: 45

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 2

Forks: 0

Open Issues: 0

Language:JavaScript

Type:graphiql-client

2.2.2 2024-03-27 06:50 UTC

README

GraphiQL client, to be integrated with GraphQL by PoP

Install

Via Composer

$ composer require graphql-by-pop/graphiql

In order to copy the GraphiQL under a specific path, install package Composer Installers Extender:

$ composer require oomphinc/composer-installers-extender

Then, add package type "graphiql-client" in section "extra.installer-types", and the custom path to the package in section "extra.installer-paths". For instance, this configuration will add the GraphiQL client under URL /graphiql/:

{
    ...
    "extra": {
        "installer-types": ["graphiql-client"],
        "installer-paths": {
            "graphiql/": [
                "graphql-by-pop/graphiql"
            ]
        }
    }
}

Change log

Please see CHANGELOG for more information on what has changed recently.

Testing

$ composer test

Contributing

Please see CONTRIBUTING and CODE_OF_CONDUCT for details.

Security

If you discover any security related issues, please email leo@getpop.org instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.