PHPackages                             mcarrowsmith-packages/shopify-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. mcarrowsmith-packages/shopify-graphql-client

ActiveLibrary[API Development](/categories/api)

mcarrowsmith-packages/shopify-graphql-client
============================================

v1.2(1y ago)0505MITPHPPHP ^7.4 || ^8.0.0

Since Oct 21Pushed 1y agoCompare

[ Source](https://github.com/mcarrowsmith/shopify-graphql-client)[ Packagist](https://packagist.org/packages/mcarrowsmith-packages/shopify-graphql-client)[ RSS](/packages/mcarrowsmith-packages-shopify-graphql-client/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (5)Versions (4)Used By (0)

[![](https://camo.githubusercontent.com/1b27de602c8b14990582d1cf88db3fb6dc00915592f368406bf1a50e7d955aaa/68747470733a2f2f6d636172726f77736d6974682e636f2e756b2f6173736574732f696d616765732f6d636172726f77736d6974682d636f6e73756c74696e672d736f6369616c2d636172642e706e67)](https://mcarrowsmith.co.uk)

Shopify GraphQL Client
======================

[](#shopify-graphql-client)

PHP Client to send GraphQL requests to Shopify Admin API.

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

[](#installation)

You can install the package via composer:

```
composer require mcarrowsmith-packages/shopify-graphql-client
```

Usage
-----

[](#usage)

Make sure you have correct credentials to access the Shopify Store via Partner Account or Custom App.

```
use \McArrowsmithPackages\ShopifyGraphQLClient\ClientFactory;

$query = request($query);
} catch (\Throwable $t) {
    echo $t->getMessage() . PHP_EOL;
}
```

See [scripts](scripts) for full usage and examples.

Testing
-------

[](#testing)

```
composer test
```

### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

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

[](#contributing)

Please see [CONTRIBUTING](https://github.com/mcarrowsmith/.github/blob/main/CONTRIBUTING.md) for details.

###  Health Score

30

—

LowBetter than 65% of packages

Maintenance40

Moderate activity, may be stable

Popularity12

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity53

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

Every ~393 days

Total

3

Last Release

511d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a1213100c1ec9c2e4e38636305b81d721b35fb3ec0e5c0ee127b86ca8917fd14?d=identicon)[mcarrowsmith](/maintainers/mcarrowsmith)

---

Top Contributors

[![bennoislost](https://avatars.githubusercontent.com/u/1015154?v=4)](https://github.com/bennoislost "bennoislost (1 commits)")

###  Code Quality

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/mcarrowsmith-packages-shopify-graphql-client/health.svg)

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

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

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