testudio/retailexpress-php
最新稳定版本:1.0.3
Composer 安装命令:
composer require testudio/retailexpress-php
包简介
Retail Express API PHP Client
README 文档
README
A PHP client wrapper for the Retail Express API (v2.1), built with Guzzle.
Installation
composer require testudio/retailexpress-php
Usage
use RetailExpress\RetailExpressClient; $client = new RetailExpressClient('your_api_key'); // Fetch customers $customers = $client->getCustomers(); // Create a customer $newCustomer = $client->createCustomer([ 'first_name' => 'John', 'last_name' => 'Smith', 'email' => 'john@example.com' ]); // Fetch products $products = $client->getProducts(); // Get a specific order $order = $client->getOrder(123);
Endpoints Covered
- Customers: list, get, create, update
- Products: list, get
- Product Detail Logs: list, get
- Product Prices: list, get
- Orders: list, get
Requirements
- PHP 8.0+
- Guzzle 7+
Testing
composer install vendor/bin/phpunit
统计信息
- 总下载量: 9
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2025-06-23