kieranajp / graphql-client
A simple client to make working with GraphQL APIs nicer.
Installs: 751
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/kieranajp/graphql-client
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: 2025-10-06 04:14:35 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.