devlab-studio/shopify-api-laravel
最新稳定版本:v1.0.8
Composer 安装命令:
composer require devlab-studio/shopify-api-laravel
包简介
This is my package shopify-api-laravel
README 文档
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.
Resources
© 2026 Devlab Studio统计信息
- 总下载量: 22
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-03-12