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 3w 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 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity50

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

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

[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.2M46](/packages/tencentcloud-tencentcloud-sdk-php)[resend/resend-php

Resend PHP library.

596.2M35](/packages/resend-resend-php)[checkout/checkout-sdk-php

Checkout.com SDK for PHP

563.5M10](/packages/checkout-checkout-sdk-php)[mailchimp/transactional

529.5M18](/packages/mailchimp-transactional)[mozex/anthropic-laravel

Laravel integration for the Anthropic API: facade, config publishing, install command, testing fakes, messages, streaming, tool use, thinking, and batches.

72287.1k1](/packages/mozex-anthropic-laravel)

PHPackages © 2026

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