PHPackages                             fo3nix/shopify-graphql-php-app - 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. fo3nix/shopify-graphql-php-app

ActiveLibrary

fo3nix/shopify-graphql-php-app
==============================

A PHP Library to interact with the GraphQLAdmin API of Shopify

v1.1.1(5mo ago)1641↓50%GPL-3.0-onlyPHP

Since Sep 16Pushed 5mo agoCompare

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

READMEChangelog (2)Dependencies (1)Versions (4)Used By (0)

Typed Shopify GraphQL Client Library
====================================

[](#typed-shopify-graphql-client-library)

This is a strongly-typed PHP client library for interacting with the Shopify GraphQL API. For every GraphQL object, we have generated corresponding query builders and result classes, enabling a fluent, intuitive, and type-safe development experience.

Stop guessing field names and start leveraging your IDE's autocompletion!

Supported Shopify GraphQL APIs
------------------------------

[](#supported-shopify-graphql-apis)

- Admin API Version: 2025-07

Features
--------

[](#features)

- **Fluent Query Builder:** Construct complex GraphQL queries with a simple and readable PHP object interface.
- **Strongly-Typed Result Objects:** Automatically map API responses to dedicated PHP classes.
- **IDE Autocompletion:** Get full autocompletion for queries and results, reducing errors and speeding up development.
- **Automatic Type Handling:** Includes automatic handling of date/time fields with Carbon and recursive handling of nested objects.

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

[](#installation)

`composer require fo3nix/php-shopify-graphql-client`

Usage
-----

[](#usage)

### Example: Query Builder and Execution

[](#example-query-builder-and-execution)

The following example demonstrates how to build a query to fetch the first 5 customers and their last 3 orders, then execute it.

```
