PHPackages                             rothrauff-consulting/shopify - 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. rothrauff-consulting/shopify

AbandonedArchivedLibrary[API Development](/categories/api)

rothrauff-consulting/shopify
============================

A PHP wrapper for the Shopify API.

1.2.0(5y ago)2381MITPHPPHP ^7.1

Since Dec 17Pushed 5y ago1 watchersCompare

[ Source](https://github.com/rothrauff-consulting/shopify)[ Packagist](https://packagist.org/packages/rothrauff-consulting/shopify)[ Docs](https://github.com/rothrauff-consulting/shopify)[ RSS](/packages/rothrauff-consulting-shopify/feed)WikiDiscussions master Synced today

READMEChangelog (4)Dependencies (1)Versions (5)Used By (1)

A PHP wrapper for the Shopify API
=================================

[](#a-php-wrapper-for-the-shopify-api)

[![Latest Version on Packagist](https://camo.githubusercontent.com/7c2ae1bf6344c03aa7f75af650fad6813fff34e1d134ef6ae7797093d76865ce/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f726f746872617566662d636f6e73756c74696e672f73686f706966792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/rothrauff-consulting/shopify)[![Build Status](https://camo.githubusercontent.com/08ad6ab506cb4e009d84dafc2e157b2aba943f2c40fcd6c3dbbf46a7884d5999/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f726f746872617566662d636f6e73756c74696e672f73686f706966792f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/rothrauff-consulting/shopify)[![Quality Score](https://camo.githubusercontent.com/20c7824bfc8397a389f65c7ac5d5ad2cc3ac263fdb8c3c0a1054d238056287ef/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f726f746872617566662d636f6e73756c74696e672f73686f706966792e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/rothrauff-consulting/shopify)[![Total Downloads](https://camo.githubusercontent.com/d0273fff446600ae3905872d8d2693b95599f74e986d670def06550727895704/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f726f746872617566662d636f6e73756c74696e672f73686f706966792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/rothrauff-consulting/shopify)

Currently supports version 2019-10, 2020-01, and 2020-04 of the REST Admin API, and will support all released versions.

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

[](#installation)

You can install the package via composer:

```
composer require rothrauff-consulting/shopify
```

Usage
-----

[](#usage)

```
use RothrauffConsulting\Shopify\Shopify;

$shopify = new Shopify('store_url', 'app_api_key', 'app_password');
```

or to specify an api version:

```
use RothrauffConsulting\Shopify\Shopify;

$shopify = new Shopify('store_url', 'app_api_key', 'app_password', 'api_version');
```

Examples:

```
$shopify->get('products');
$shopify->get('products', ['fields' => 'id,title']);

$shopify->post('products', [
    'product' => [
        //new product
    ]
]);

$shopify->put('products/{id}', [
    'product' => [
        //update product
    ]
]);

$shopify->delete('products/{id}');
```

Some delete requests require parameters, e.g., themes:

```
$shopify->delete('themes/{theme_id}/assets', ['asset[key]' =>  'asset_key']);
```

There is a retry mechanism that allows you to set how many retries, and how long to wait before retrying. Set these environment variables:

```
SHOPIFY_RETRY_COUNT=
SHOPIFY_TIMEOUT_SECONDS=

```

### Testing

[](#testing)

```
composer test
```

### Changelog

[](#changelog)

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

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

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Matthew Myers](https://github.com/mxm1070)
- [Developers](https://github.com/rothrauff-consulting)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

PHP Package Boilerplate
-----------------------

[](#php-package-boilerplate)

This package was generated using the [PHP Package Boilerplate](https://laravelpackageboilerplate.com).

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity55

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 ~48 days

Total

4

Last Release

2189d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8276199?v=4)[Drexel Rothrauff](/maintainers/drexelroth)[@drexelroth](https://github.com/drexelroth)

![](https://avatars.githubusercontent.com/u/11588575?v=4)[Matthew Myers](/maintainers/mxm1070)[@mxm1070](https://github.com/mxm1070)

---

Top Contributors

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

---

Tags

shopifyrothrauff-consulting

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/rothrauff-consulting-shopify/health.svg)

```
[![Health](https://phpackages.com/badges/rothrauff-consulting-shopify/health.svg)](https://phpackages.com/packages/rothrauff-consulting-shopify)
```

###  Alternatives

[phpclassic/php-shopify

PHP SDK for Shopify API

6044.0M6](/packages/phpclassic-php-shopify)[kyon147/laravel-shopify

Shopify package for Laravel to aide in app development

473252.9k](/packages/kyon147-laravel-shopify)[slince/shopify-api-php

Shopify API Client for PHP

131236.9k1](/packages/slince-shopify-api-php)[robwittman/shopify-php-sdk

PHP SDK for Shopify API

7098.9k1](/packages/robwittman-shopify-php-sdk)[phpish/shopify

Simple Shopify API client in PHP

6284.8k](/packages/phpish-shopify)[zfr/zfr-shopify

PHP library for interacting with the Shopify REST API

37198.8k](/packages/zfr-zfr-shopify)

PHPackages © 2026

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