kieranajp / graphql-client
A simple client to make working with GraphQL APIs nicer.
0.0.1
2019-11-04 15:56 UTC
Requires
- php: >=7.3
- ext-json: *
- php-http/client-common: ^2.0
Requires (Dev)
- guzzlehttp/psr7: ^1.6
- kahlan/kahlan: ^4.6
- larapack/dd: ^1.1
- php-http/mock-client: ^1.3
- slevomat/coding-standard: ~5.0
- squizlabs/php_codesniffer: ^3.4
- vimeo/psalm: ^3.4
This package is auto-updated.
Last update: 2024-12-06 02:29:02 UTC
README
This is a PSR-18 compatible GraphQL client, using http://httplug.io.
Installation
$ composer require kieranajp/graphql-client
Usage
Full usage docs are coming, but for now check the tests.
Pass a httplug compatible adapter to the Client constructor, and away you go!
Contributing
Please do!
Note that code is checked with phpcs
and psalm
, and unit tested with kahlan
. These are all runnable via the Makefile.