kcfbricks/php-bricklink-sdk
最新稳定版本:v0.3.4
Composer 安装命令:
composer require kcfbricks/php-bricklink-sdk
包简介
PHP client library for the BrickLink API
README 文档
README
PHP SDK for the BrickLink API
Features
- Complete BrickLink API integration
- OAuth1 authentication
- Order management (fetch, update, status changes)
- Inventory operations
- Mock testing system for development and testing without real API calls
Mock Testing
This SDK includes a comprehensive mock testing system that allows you to develop and test your BrickLink integration without making real API calls.
use Kcfbricks\PhpBricklinkSdk\Testing\MockClientFactory; use Kcfbricks\PhpBricklinkSdk\Order\OrderRequest; // Create mock client with realistic test data $mockClient = MockClientFactory::createWithRealisticData(); // Use exactly like the real client $orders = OrderRequest::getOrders($mockClient); $order = OrderRequest::getOrder($mockClient, 12345); $orderItems = OrderRequest::getOrderItems($mockClient, 12345);
See MOCK_TESTING.md for complete documentation and examples.
统计信息
- 总下载量: 51
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-08-26