Download the PHP package acefolio/laravel-shopify without Composer

On this page you can find all versions of the php package acefolio/laravel-shopify. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-shopify

Laravel Shopify App

A comprehensive Laravel package that replicates the core functionality of the Shopify CLI (Node/Remix version). Handles the entire Shopify app lifecycle within the Laravel framework, adhering to 2026 Shopify standards — App Bridge 4 and Token Exchange.

Requirements

Installation

Publish Assets

Run Migrations

Configuration

Add these to your .env file:

See config/shopify-app.php for all available options.


Authentication & Session Management

Token Exchange (No OAuth Redirects)

This package uses Shopify's Token Exchange flow — the 2026 standard that replaces legacy OAuth redirect loops. The frontend obtains a session token from App Bridge, and the backend exchanges it for an access token.

No redirect pages, no flashing, no auth callback routes needed for the primary flow.

Middleware

verify.shopify

Validates the session token from the Authorization: Bearer header, performs token exchange or refresh as needed, and binds the shop context to the request.

Access the shop context in your controllers:

verify.billing

Checks for an active billing plan. If none exists, returns a 402 with the App Bridge redirect header pointing to Shopify's checkout page.

verify.webhook.hmac

Validates the HMAC signature on incoming Shopify webhooks.

verify.app.proxy

Validates the signature on Shopify App Proxy requests.

Expiring Offline Access Tokens

The package fully supports Shopify's expiring offline tokens with automatic refresh token rotation. When a token is about to expire (within the configurable buffer window), the middleware automatically refreshes it.


Artisan Commands

shopify:app:dev

Start a full development environment — tunnel, app URL update, Laravel server, and Vite dev server.

shopify:app:deploy

Bundle assets, optimize Laravel, and prepare for production.

shopify:generate:webhook

Scaffold a webhook Job class and register it in the config.

shopify:generate:extension

Scaffold Theme App Extensions or UI Extensions.


API Client

GraphQL Client (with Leaky Bucket Rate Limiting)

REST Client

Facade

Both clients implement the Leaky Bucket algorithm for automatic rate-limit handling with configurable retry logic.


Billing

Configuration

Programmatic Usage

App Bridge Redirect Pattern

All billing redirects use the Link header pattern for App Bridge iframe breakout:


Webhooks

Declarative Registration

Webhooks are automatically registered with Shopify when a shop installs your app.

Webhook Jobs

Generated job:

CSRF Exemption

Add the webhook path to your VerifyCsrfToken middleware exceptions:


Frontend Integration

Blade Layout (App Bridge 4)

React/Inertia Layout

Use the React-optimized layout:

Add the Inertia data-sharing middleware to your stack:

Vite Plugin

Publish and use the included Vite plugin:

The plugin automatically:

Navigation Bridge

Sync Laravel routes with the Shopify Admin address bar:

In Blade views, include the sync script:


Events

The package dispatches lifecycle events you can listen for:

Event When
ShopInstalled First-time token exchange for a shop
ShopUninstalled (Dispatch in your APP_UNINSTALLED webhook job)
ShopTokenRefreshed Token refreshed for an existing shop

Helpers

Shop Domain Utilities

HMAC Verification


Package Structure

License

MIT


All versions of laravel-shopify with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
illuminate/support Version ^10.0|^11.0|^12.0
illuminate/database Version ^10.0|^11.0|^12.0
illuminate/http Version ^10.0|^11.0|^12.0
illuminate/routing Version ^10.0|^11.0|^12.0
illuminate/console Version ^10.0|^11.0|^12.0
guzzlehttp/guzzle Version ^7.5
firebase/php-jwt Version ^6.8
lcobucci/jwt Version ^5.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package acefolio/laravel-shopify contains the following files

Loading the files please wait ...