PHPackages                             skygdi/shopify-private-app-foundation - 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. skygdi/shopify-private-app-foundation

ActiveLibrary[API Development](/categories/api)

skygdi/shopify-private-app-foundation
=====================================

A Shopify private APP skeleton, install and use the Shopiy Admin API token

01PHP

Since May 19Pushed 5y ago1 watchersCompare

[ Source](https://github.com/skygdi/shopify-private-app-foundation)[ Packagist](https://packagist.org/packages/skygdi/shopify-private-app-foundation)[ RSS](/packages/skygdi-shopify-private-app-foundation/feed)WikiDiscussions main Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

A Shopify private APP skeleton
==============================

[](#a-shopify-private-app-skeleton)

Setup:
------

[](#setup)

### Install:

[](#install)

```
composer require skygdi/shopify-private-app-foundation

```

### APP Setup:

[](#app-setup)

#### Allowed redirection URL(s):

[](#allowed-redirection-urls)

```
https://your-app.ngrok.io/install
https://your-app.ngrok.io/install_authorize

```

#### Modify your .env:

[](#modify-your-env)

```
SHOPIFY_APP_API_KEY="APP_key"
SHOPIFY_APP_API_SECRET="APP_secret"
SHOPIFY_APP_API_SCOPES="read_products,read_product_listings,read_themes,write_themes,read_script_tags,write_script_tags"

```

#### build your logic controller:

[](#build-your-logic-controller)

##### The entry URL is "/". So, you need to define this route on your own.

[](#the-entry-url-is--so-you-need-to-define-this-route-on-your-own)

```
use Skygdi\ShopifyPrivateAPPFoundation\Traits\ShopifyInstallTrait;
class HomeController extends Controller
{
  use ShopifyInstallTrait; //Add
  function entry(Request $request){
    if( !$this->hashCheck($request) ) abort(403,"No Access Token Found");
    //Hash check success, means it came from Shopify APP.
    //Build your login code from here
    //Auth::loginUsingId(1); //Like login a user or an admin backend.
    //return redirect()->to('/admin');
  }
}

```

#### Update the session for Shopify frame

[](#update-the-session-for-shopify-frame)

```
config/session.php
'secure'	=> true
'same_site'	=> 'none'

```

### Usage:

[](#usage)

#### Communicate with API token:

[](#communicate-with-api-token)

```
$this->loadShopDomain();
$this->loadAccessToken();
//Do your REST API call

```

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity30

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/20422201?v=4)[Peter George](/maintainers/skygdi)[@skygdi](https://github.com/skygdi)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/skygdi-shopify-private-app-foundation/health.svg)

```
[![Health](https://phpackages.com/badges/skygdi-shopify-private-app-foundation/health.svg)](https://phpackages.com/packages/skygdi-shopify-private-app-foundation)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k15](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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