Download the PHP package fo3nix/shopify-graphql-php-app without Composer
On this page you can find all versions of the php package fo3nix/shopify-graphql-php-app. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download fo3nix/shopify-graphql-php-app
More information about fo3nix/shopify-graphql-php-app
Files in fo3nix/shopify-graphql-php-app
Package shopify-graphql-php-app
Short Description A PHP Library to interact with the GraphQLAdmin API of Shopify
License GPL-3.0-only
Informations about the package shopify-graphql-php-app
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
- Admin API Version: 2025-07
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
composer require fo3nix/php-shopify-graphql-client
Usage
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.
Example: Mapping Results to Objects
This example takes the raw array from the previous step and hydrates it into strongly-typed Customer and Order objects.