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. [API Development](/categories/api)
4. /
5. improck/shopify-sdk-php

ActiveLibrary[API Development](/categories/api)

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

A simple API wrapper for Shopify using Guzzle for REST

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

Since Feb 11Pushed 7y 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 4w ago

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 25% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity51

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

2679d 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

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.2k555.0M2.8k](/packages/aws-aws-sdk-php)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

293.1k](/packages/eslazarev-wildberries-sdk)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.3M49](/packages/tencentcloud-tencentcloud-sdk-php)[resend/resend-php

Resend PHP library.

608.3M51](/packages/resend-resend-php)[checkout/checkout-sdk-php

Checkout.com SDK for PHP

563.6M16](/packages/checkout-checkout-sdk-php)[fingerprint/fingerprint-pro-server-api-sdk

Fingerprint Server API allows you to get, search, and update Events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. The API also supports collection of Automation Intelligence for requests to your server in edge, pre-origin, or middleware contexts.

33302.1k1](/packages/fingerprint-fingerprint-pro-server-api-sdk)

PHPackages © 2026

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