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

AbandonedArchivedLibrary[API Development](/categories/api)

signifly/shopify-php-sdk
========================

Shopify PHP SDK

v0.4.1(5y ago)74.2k1MITPHPPHP ^7.2.5

Since Jan 30Pushed 5y ago1 watchersCompare

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

READMEChangelog (10)Dependencies (4)Versions (31)Used By (0)

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

[](#shopify-php-sdk)

The `signifly/shopify-php-sdk` package allows you to easily make requests to the Shopify API.

Below is a small example of how to use it with the `CredentialsProfile`.

```
use Signifly\Shopify\Shopify;
use Signifly\Shopify\Profiles\CredentialsProfile;

$shopify = new Shopify(
    new CredentialsProfile(
        env('SHOPIFY_API_KEY'),
        env('SHOPIFY_PASSWORD'),
        env('SHOPIFY_DOMAIN'),
        env('SHOPIFY_API_VERSION')
    )
);

// Retrieve a list of products
$shopify->products()->all(); // returns a collection of ProductResource

// Count all products
$shopify->products()->count();

// Find a product
$resource = $shopify->products()->find($id); // returns a ProductResource

// Update a product
$shopify->products()->update($id, $data); // returns a ProductResource

// Delete a product
$shopify->products()->destroy($id);
```

Documentation
-------------

[](#documentation)

To get started follow the installation instructions below.

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

[](#installation)

You can install the package via composer:

```
$ composer require signifly/shopify-php-sdk
```

Reference
---------

[](#reference)

A list of the available methods on the Shopify API client. The examples below assumes you have knowledge of how to make valid requests to the Shopify API.

If you want to learn more about what options are available when making a request, please refer to [Shopify's documentation](https://help.shopify.com/en/api/reference).

### Products

[](#products)

**Retrieve a list of products**

```
$shopify->products()->all([
    'page' => 1,
    'limit' => 250,
]);

// returns a collection of ProductResource
```

*NOTE:* There's a max limit of 250 items per request.

**Retrieve a count of products**

```
$shopify->products()->count(); // returns an integer
```

**Retrieve a single product**

```
$shopify->products()->find(123456789); // returns a ProductResource
```

**Create a new product**

```
$shopify->products()->create([
    'title' => 'Burton Custom Freestyle 151',
    'body_html' => 'Good snowboard!',
    'vendor' => 'Burton',
    'product_type' => 'Snowboard',
    'tags' => 'Barnes & Noble, John\'s Fav, "Big Air"',
]);

// returns a ProductResource
```

**Update a product**

```
$shopify->products()->update(123456789, [
    'title' => 'An updated title',
]);

// returns a ProductResource
```

**Delete a product**

```
$shopify->products()->destroy(123456789); // returns void
```

Testing
-------

[](#testing)

```
$ composer test
```

Security
--------

[](#security)

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

Credits
-------

[](#credits)

- [Morten Poul Jensen](https://github.com/pactode)
- [Travis Elkins](https://github.com/telkins)
- [All contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 77.4% 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 ~33 days

Recently: every ~77 days

Total

30

Last Release

2070d ago

PHP version history (2 changes)v0.0.1PHP ^7.1

v0.4.0PHP ^7.2.5

### Community

Maintainers

![](https://www.gravatar.com/avatar/cd06d3bd4452ca3ce5c956b4c0bcb1240ca692f590bc4cdabe104fd07156e0bf?d=identicon)[signifly](/maintainers/signifly)

---

Top Contributors

[![pactode](https://avatars.githubusercontent.com/u/5956778?v=4)](https://github.com/pactode "pactode (106 commits)")[![telkins](https://avatars.githubusercontent.com/u/53731?v=4)](https://github.com/telkins "telkins (31 commits)")

---

Tags

shopify-apishopify-phpshopify-sdk

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[skagarwal/google-places-api

Google Places Api

1913.0M8](/packages/skagarwal-google-places-api)[dcblogdev/laravel-microsoft-graph

A Laravel Microsoft Graph API (Office365) package

168285.5k1](/packages/dcblogdev-laravel-microsoft-graph)[vluzrmos/slack-api

Wrapper for Slack.com WEB API.

102589.1k3](/packages/vluzrmos-slack-api)[smodav/mpesa

M-Pesa API implementation

16363.7k1](/packages/smodav-mpesa)[jasara/php-amzn-selling-partner-api

A fluent interface for Amazon's Selling Partner API in PHP

1344.8k1](/packages/jasara-php-amzn-selling-partner-api)[grantholle/powerschool-api

A Laravel package to make interacting with PowerSchool less painful.

1715.6k1](/packages/grantholle-powerschool-api)

PHPackages © 2026

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