Skip to content

commadore/graphql-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository is no longer actively maintained. There are way better ways to interact with graphql

PHP GraphQL Client

Essentially a wrapper for Guzzle for GraphQL queries.

Inject a Guzzle Client, one method that takes a GraphQL Query, (optional) variables, (optional) headers.

Returns GraphQLResponse object with getPayload, getErrors methods to get at your delicious data. Both return associative arrays.

Allows Guzzle exceptions to bubble up other than TransferException which is thrown as a custom Network Exception

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages