PHPackages                             kieranajp/graphql-client - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. kieranajp/graphql-client

ActiveLibrary[API Development](/categories/api)

kieranajp/graphql-client
========================

A simple client to make working with GraphQL APIs nicer.

0.0.1(6y ago)0751MITPHPPHP &gt;=7.3

Since Nov 4Pushed 6y ago1 watchersCompare

[ Source](https://github.com/kieranajp/php-graphql-client)[ Packagist](https://packagist.org/packages/kieranajp/graphql-client)[ RSS](/packages/kieranajp-graphql-client/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (8)Versions (2)Used By (0)

PHP GraphQL Client
==================

[](#php-graphql-client)

[![codecov](https://camo.githubusercontent.com/e215c555d6ffc2a84665dda578f3e4843a0081f3c6a6b1012e3b46187d9c2658/68747470733a2f2f636f6465636f762e696f2f67682f6b696572616e616a702f7068702d6772617068716c2d636c69656e742f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/kieranajp/php-graphql-client)

This is a PSR-18 compatible GraphQL client, using .

Installation
------------

[](#installation)

```
$ composer require kieranajp/graphql-client

```

Usage
-----

[](#usage)

Full usage docs are coming, but for now [check the tests](https://github.com/kieranajp/php-graphql-client/blob/master/spec/Client.spec.php).

Pass a httplug compatible adapter to the Client constructor, and away you go!

Contributing
------------

[](#contributing)

Please do!

Note that code is checked with `phpcs` and `psalm`, and unit tested with `kahlan`. These are all runnable via the Makefile.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2382d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/986acba5713cdb47bd0f0e9b0e7988f3b4a2cc43f40bdcbb9820a64f79d6516d?d=identicon)[kieranajp](/maintainers/kieranajp)

---

Top Contributors

[![kieranajp](https://avatars.githubusercontent.com/u/681426?v=4)](https://github.com/kieranajp "kieranajp (8 commits)")

###  Code Quality

Static AnalysisPsalm

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/kieranajp-graphql-client/health.svg)

```
[![Health](https://phpackages.com/badges/kieranajp-graphql-client/health.svg)](https://phpackages.com/packages/kieranajp-graphql-client)
```

###  Alternatives

[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[m4tthumphrey/php-gitlab-api

GitLab API v4 client for PHP

9485.4M64](/packages/m4tthumphrey-php-gitlab-api)[jolicode/slack-php-api

An up to date PHP client for Slack's API

2534.4M12](/packages/jolicode-slack-php-api)[intercom/intercom-php

Intercom API client.

30320.5M26](/packages/intercom-intercom-php)[toin0u/digitalocean-v2

DigitalOcean API v2 client for PHP

7341.1M16](/packages/toin0u-digitalocean-v2)[cloudconvert/cloudconvert-php

PHP SDK for CloudConvert APIs

2223.4M7](/packages/cloudconvert-cloudconvert-php)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
