devlab-studio/shopify-api-laravel

This is my package shopify-api-laravel

Maintainers

Package info

github.com/devlab-studio/shopify-api-laravel

pkg:composer/devlab-studio/shopify-api-laravel

Fund package maintenance!

Devlab

Statistics

Installs: 22

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 0

v1.0.9 2026-05-13 13:38 UTC

This package is auto-updated.

Last update: 2026-05-13 13:39:38 UTC


README



Devlab Logo

Español

Shopify API Laravel is a package to easily integrate the Shopify API into your Laravel projects. It provides methods to fetch and manage Shopify products, orders, customers and stores using PHP, simplifying the connection to Shopify's official API from Laravel.

  • Fetch and manage Shopify products
  • Fetch and manage Shopify orders
  • Fetch and manage Shopify customers
  • Fetch and manage Shopify inventory
  • Webhook workflow for Shopify
  • Methods to retrieve stores from the database
  • Utilities to work with GraphQL and the official API

Installation

Install the package via Composer:

composer require devlab-studio/shopify-api-laravel

Publish and run the required migrations:

php artisan vendor:publish --tag=shopify-api-laravel-migrations
php artisan migrate

Publish the configuration file:

php artisan vendor:publish --tag=shopify-api-laravel-config

Basic usage examples

Get stores

use Devlab\ShopifyApiLaravel\Models\Store;

$stores = Store::dlGet();

Fetch products for a store

use Devlab\ShopifyApiLaravel\ShopifyAPI\Products;

$store = Store::dlGet(1);
$products = Products::getProducts($store, []);

Fetch an order

use Devlab\ShopifyApiLaravel\ShopifyAPI\Orders;

$store = Store::dlGet(1);
$order = Orders::getOrder($store, $orderId);

Refer to the Shopify/GraphQL documentation for more examples and details.

Resources

© 2026 Devlab Studio