PHPackages                             improck/shopify-sdk-php - 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. improck/shopify-sdk-php

ActiveLibrary

improck/shopify-sdk-php
=======================

A simple API wrapper for Shopify using Guzzle for REST

0.1.24(6y ago)031Apache-2.0PHPPHP ^7.2

Since Feb 11Pushed 6y agoCompare

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

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

PHP Shopify SDK
===============

[](#php-shopify-sdk)

PHP Shopify is a simple SDK implementation of Shopify API. It helps accessing the API in an object oriented way.

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

[](#installation)

Install with Composer

```
composer require improck/shopify-sdk-php
```

Usage
-----

[](#usage)

You can use PHP Shopify in a pretty simple object oriented way.

##### Generate install url

[](#generate-install-url)

```
\Improck\Shopify\Shopify::generateInstallUrl($myshopifyDomain, $apiKey, $scopes, $redirectUrl)
```

##### Get the Shopify SDK Object

[](#get-the-shopify-sdk-object)

```
$shopify = new \Improck\Shopify\Shopify($myshopifyDomain, $accessToken);
```

##### Get the access token when redirected back to the $redirectUrl after app authorization.

[](#get-the-access-token-when-redirected-back-to-the-redirecturl-after-app-authorization)

```
$shopify = \Improck\Shopify\Shopify::authorize($myshopifyDomain, $code, $apiKey, $secretKey);
```

##### Making API calls

[](#making-api-calls)

```
$products = $shopify->get("products.json");

echo $products->count();

$products->each(function($product) {

    echo $product['title'];

});

$firstProduct = $products->first();

$result = $shopify->post("webhooks.json", ["webhook" => []]);

$result = $shopify->put("webhooks/4759306.json", ["webhook" => []]]);

$deletedStatus = $shopify->delete("products/5616516.json");
```

##### Collect methods

[](#collect-methods)

All methods can be viewed on the library wiki:

###  Health Score

23

—

LowBetter than 30% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity49

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

Total

7

Last Release

2543d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/58ea6aeafc17ed866bb8a74d7b500883e1cb7e4ec5b007d3452d3753313ca68b?d=identicon)[improck](/maintainers/improck)

---

Top Contributors

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

---

Tags

phpsdkshopify

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/improck-shopify-sdk-php/health.svg)

```
[![Health](https://phpackages.com/badges/improck-shopify-sdk-php/health.svg)](https://phpackages.com/packages/improck-shopify-sdk-php)
```

###  Alternatives

[phpclassic/php-shopify

PHP SDK for Shopify API

6043.9M4](/packages/phpclassic-php-shopify)

PHPackages © 2026

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