PHPackages                             davidhirtz/yii2-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. [Admin Panels](/categories/admin)
4. /
5. davidhirtz/yii2-shopify

ActiveYii2-extension[Admin Panels](/categories/admin)

davidhirtz/yii2-shopify
=======================

Shopify module for admin panel based on Yii 2.0 framework

2.2.1(6mo ago)01601proprietaryPHPPHP ^8.3CI passing

Since May 3Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/davidhirtz/yii2-shopify)[ Packagist](https://packagist.org/packages/davidhirtz/yii2-shopify)[ Docs](https://www.github.com/davidhirtz/yii2-shopify)[ RSS](/packages/davidhirtz-yii2-shopify/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (12)Versions (41)Used By (1)

Shopify backend based on the [Yii 2](http://www.yiiframework.com/) extension [yii2-skeleton](https://github.com/davidhirtz/yii2-skeleton/).

### Shopify setup

[](#shopify-setup)

First, a custom app needs to be created in the Shopify admin under `Apps` &gt; `Develop apps` &gt; `Create an app`. Once completed, the app needs to be configured to allow at least these Admin API access scopes:

- `read_inventory`
- `read_products`

To use the Storefront API (shopify.js), activate the Storefront API integration with the following permissions:

- `unauthenticated_write_checkouts`
- `unauthenticated_read_checkouts`
- `unauthenticated_write_customers`
- `unauthenticated_read_customers`
- `unauthenticated_read_product_listings`
- `unauthenticated_read_product_inventory`

### Credentials

[](#credentials)

Following Shopify credentials need to be either added to `config/params.php` or directly set as properties in `davidhirtz\yii2\shopify\Module`. They can be found under `API credentials` in your private app settings in the Shopify admin.

```
shopifyShopName                 The shopify name of your shop (https://NAME.myshopify.com/)
shopifyShopDomain               Your optional custom shop URL
shopifyApiKey                   API key (API key and secret key)
shopifyApiSecret                API secret (API key and secret key)
shopifyAccessToken              Admin API access token (IMPORTANT: Can only be accessed once!)
shopifyStorefrontAccessToken    Storefront access token

```

### Webhooks

[](#webhooks)

After the configuration is completed, go to `Products` &gt; `Webhooks` (the user permission `Manage Shopify webhooks` is required) and click on `Install Webhooks` to register the necessary webhooks which sync the Shopify admin with the website.

### Products

[](#products)

Products are synced automatically on change in Shopify admin. If products were already created before the webhooks were registered or there seems to be an issue with the sync, click on `Reload Products` to load all products from Shopify.

### Shopify Theme

[](#shopify-theme)

To disable the "Online shop" app in the backend, you can create a minimal theme or upload this [package](https://github.com/instantcommerce/shopify-headless-theme). Additionally, you can add custom code to the Shopify "Thank you" page to add trackers or a "back to website" button. The text field "Additional scripts" is located in your Shopify Backend at admin.shopify.com/store/YOUR\_SHOPIFY\_ID/settings/checkout. It accepts HTML, JS and the liquid objects `shop` and ` checkout`.

```

{% if shop.locale == "de" %}
Zurück zum Shop
{% else %}
Return to shop
{% endif %}

```

###  Health Score

47

—

FairBetter than 94% of packages

Maintenance81

Actively maintained with recent releases

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity75

Established project with proven stability

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

Recently: every ~66 days

Total

38

Last Release

149d ago

Major Versions

v0.1.1 → v1.0.02022-05-05

v1.1.7 → v2.0.02023-11-03

v1.1.8 → v2.1.02023-12-20

v1.x-dev → 2.1.82024-08-19

2.2.1 → v3.x-dev2025-12-14

### Community

Maintainers

![](https://www.gravatar.com/avatar/4266eaf8539e1f155d297647f285c2c2ddd1f3d73f279230acb0fdec9da05af1?d=identicon)[davidhirtz](/maintainers/davidhirtz)

---

Top Contributors

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

###  Code Quality

TestsCodeception

Static AnalysisRector

Code StyleECS

### Embed Badge

![Health badge](/badges/davidhirtz-yii2-shopify/health.svg)

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

###  Alternatives

[jeroennoten/laravel-adminlte

Easy AdminLTE integration with Laravel

4.0k4.8M43](/packages/jeroennoten-laravel-adminlte)[dmstr/yii2-adminlte-asset

AdminLTE backend theme asset bundle for Yii 2.0 Framework

1.1k1.8M67](/packages/dmstr-yii2-adminlte-asset)[dwij/laraadmin

LaraAdmin is a Open source Laravel Admin Panel / CMS which can be used as Admin Backend, Data Management Tool or CRM boilerplate for Laravel with features like CRUD Generation, Module Manager, Media, Menus, Backups and much more

1.6k68.7k](/packages/dwij-laraadmin)[filament/spatie-laravel-media-library-plugin

Filament support for `spatie/laravel-medialibrary`.

1764.8M125](/packages/filament-spatie-laravel-media-library-plugin)[bezhansalleh/filament-exceptions

A Simple &amp; Beautiful Pluggable Exception Viewer for FilamentPHP's Admin Panel

193195.9k13](/packages/bezhansalleh-filament-exceptions)[filament/infolists

Easily add beautiful read-only infolists to any Livewire component.

1220.8M36](/packages/filament-infolists)

PHPackages © 2026

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