getpop/graphql-clients-for-wp

This package is abandoned and no longer maintained. The author suggests using the graphql-by-pop/graphql-clients-for-wp package instead.

GraphiQL and Voyager GraphQL Clients for WordPress

dev-master / 1.0.x-dev 2020-08-08 04:29 UTC

This package is auto-updated.

Last update: 2020-08-08 04:38:56 UTC


README

Build Status Quality Score Software License

GraphiQL and Voyager GraphQL Clients for WordPress

Install

Via Composer

composer require graphql-by-pop/graphql-clients-for-wp

Usage

Initialize the component:

\PoP\Root\ComponentLoader::initializeComponents([
    \PoP\GraphQLClientsForWP\Component::class,
]);

Standards

PSR-1, PSR-4 and PSR-12.

Change log

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

Testing

composer test

Static Analysis

Execute phpstan with level 5:

composer analyse

To run checks for level 0 (or any level from 0 to 8):

./vendor/bin/phpstan analyse -l 0 src tests

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.