Registry / http-client / gmostafa-php-graphql-client

gmostafa-php-graphql-client

JSON →
library1.9.2phppackagistunverified

GraphQL client and query builder for PHP.

composer require gmostafa/php-graphql-client
INSTALL
IMPORT
SIG · GMOSTAFA-PHP-GRAPH
G
gmostafa-php-graphql-client
http-clientphpv1.9.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Client
use Gmostafa\GraphQL\Client;

Send a GraphQL query to an endpoint.

use Gmostafa\GraphQL\Client; $client = new Client('https://api.example.com/graphql'); $response = $client->query('{ user { name } }');
Debug
Known issues
breakingRequires PHP 7.1 or higher.
fix
Upgrade PHP to version 7.1+.
affects: >=1.0.0
Upgrade
Version history
1.9.2latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
20 hits · last 30 days
node
18
Resources
gmostafa-php-graphql-client — pip install gmostafa-php-graphql-client · libregistry