Download the PHP package yarec/graphql-client without Composer
On this page you can find all versions of the php package yarec/graphql-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package graphql-client
Usage
$endpoint = 'http://api.example.com/graphql';
$client = new Client($endpoint);
// for one
$opts = [
'args' => [
'id'=> 1234
],
'resp' => [
'id',
'name',
'email'
]
];
$data = $client->query('user', $opts);
//for list
$opts = [
'params' => [
'per_page' => 3,
'page' => 2,
],
'args' => ['sex' => 'male'],
'resp' => [
'data' => [
'id',
'name',
'email'
]
]
];
$data = $this->client->query('users', $opts);
DEV
composer config repositories.gql-client path $PATH/yarec/graphql-client
composer require yarec/graphql-client -vvv
All versions of graphql-client with dependencies
PHP Build Version
Package Version
Requires
guzzlehttp/guzzle Version
~6.0
The package yarec/graphql-client contains the following files
Loading the files please wait ....