devlab-studio / shopify-api-laravel
This is my package shopify-api-laravel
Package info
github.com/devlab-studio/shopify-api-laravel
pkg:composer/devlab-studio/shopify-api-laravel
Fund package maintenance!
v1.0.9
2026-05-13 13:38 UTC
Requires
- php: ^8.3
- devlab-studio/laravel-logs: ^1.0
- illuminate/contracts: ^11.0||^12.0
- laravel/fortify: ^1.33
- laravel/jetstream: ^5.4
- laravel/sanctum: ^4.2
- shopify/shopify-api: ^6.0
- spatie/laravel-package-tools: ^1.16
- spatie/laravel-translatable: *
Requires (Dev)
- laravel/pint: ^1.14
- nunomaduro/collision: ^8.8
- orchestra/testbench: ^10.0.0||^9.0.0
- pestphp/pest: ^4.0
- pestphp/pest-plugin-arch: ^4.0
- pestphp/pest-plugin-laravel: ^4.0
README
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.