php-graphql-client icon indicating copy to clipboard operation
php-graphql-client copied to clipboard

A PHP library that simplifies the process of interacting with GraphQL API's by providing simple client and query generator classes.

Results 25 php-graphql-client issues
Sort by recently updated
recently updated
newest added

`webonyx/graphql-php` is a popular PHP GraphQL server library. I was going to use this module until I discovered that it uses the namespace GraphQl and directly conflicts with `webonyx/graphql-php`. Any...

How do I upload a file? `mutation CreateDocumentMutation( $document: DocumentInput!, $signers: [SignerInput!]!, $file: Upload! ) { createDocument( sandbox: true, document: $document, signers: $signers, file: $file ) { id, processed_at }...

I added the possibilty to make a GET request (https://github.com/mghoneimy/php-graphql-client/issues/39). But now I saw that i completly fucked it up. I'm so sorry for that. GET requests cannot work as...

Please, add subscription to your graphql library

I was wondering whether you'd be willing to drop the hard dependency in Guzzle and make the HTTP client interchangeable. I know Guzzle is one of the (if not THE)...

enhancement
question

I can't use it because of the old psr/http-message dependency, my dependencies require version 2.0

The current version constraint is preventing installing the lib on PHP 8.1 (what I'm currently working on). Did you consider raising the PHP version support? What would be the necessary...

``` php -v PHP 8.2.4 (cli) (built: Mar 14 2023 17:54:25) (ZTS Visual C++ 2019 x64) Copyright (c) The PHP Group Zend Engine v4.2.4, Copyright (c) Zend Technologies with Xdebug...

When I tried to chain select fields like ```php (new QueryBuilder('node')) ->selectField('Id') ->selectField((new QueryBuilder('Bearer_Token__c'))->selectField('value')) ->selectField((new QueryBuilder('Webhook_Endpoint__c'))->selectField('value')) ``` PHPStan was giving me errors, because `selectField` isn't accessible on AbstractQueryBuilder. This commit...

This pull request allows psr/http-message ^2.0 as well as ^1.0. There are no breaking changes in this version, just the inclusion of types.