PHP Package: carnage/php-graphql-client

PHP library for GraphQL client integration, providing seamless querying and mutations in applications.

Current Version: 1.14.1
Last Updated: 2024-08-14
PHP Requirement: ^8.2
Dependencies:
guzzle/guzzle
webonyx/graphql-php
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

The PHP GraphQL client library facilitates easy integration and communication with GraphQL servers, enabling efficient data retrieval and manipulation. With this tool, developers can streamline the process of interacting with GraphQL APIs, enhancing the overall performance and effectiveness of their applications. The library offers comprehensive support for GraphQL queries, mutations, and subscriptions, empowering developers to build robust and scalable applications.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 1.14.1

Download Download v1.14.1

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php
// Example from PHPlibraries.com
require_once 'libs/carnage/php-graphql-client/1.14.1/loader.php';
require_once 'libs/guzzle/guzzle/7.9.3/loader.php';
require_once 'libs/webonyx/graphql-php/15.20.0/loader.php';

use Carnage\PhpGraphqlClient\Client;
use GuzzleHttp\Client;
use GraphQL\Client;

$obj = new Client();
echo '✅ Test OK: ' . get_class($obj);
?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.

Community Discussion

Ask questions, share tips, or report issues below.