leoloso/graphiql-block-wp-plugin

Wordpress plugin which installs a block for adding a GraphiQL client, to query the GraphQL server

dev-master / 1.0.x-dev 2020-03-05 09:23 UTC

This package is auto-updated.

Last update: 2024-11-05 20:44:21 UTC


README

Wordpress plugin which installs a block for adding a GraphiQL client, to query the GraphQL server

Usage

Include in your project through Composer:

$ composer require leoloso/graphiql-block-wp-plugin dev-master

Note: Your composer.json file must have the configuration below to accept minimum stability "dev" (there are no releases for PoP yet, and the code is installed directly from the master branch):

{
    ...
    "minimum-stability": "dev",
    "prefer-stable": true,
    ...
}

Then, initialize by running:

(new \Leoloso\GraphiQLBlockWPPlugin\Plugin())->init();

Credits

License

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