sapientpro/ebay-traditional-sdk
Composer 安装命令:
composer require sapientpro/ebay-traditional-sdk
包简介
Ebay Traditional API SDK for PHP
关键字:
README 文档
README
This is a fork of the original dts/ebay-sdk-php by @davidtsadler, with support for PHP 8 and compatibility with Guzzle 7.
The original project has been officially abandoned in February 2020.
This project enables PHP developers to use the Traditional eBay APIs in their PHP code, and build software using services such as Finding, Trading, Shopping, etc.
Features
- Compatible with PHP 8.
- Easy to install with Composer.
- Compliant with PSR-1, PSR-2, PSR-4, and PSR-12.
Prerequisites
- PHP 8 or higher with the following extensions:
- curl
- libxml
- 64 bit version as there are some issues when using the SDK with 32 bit.
- SSL enabled on the cURL extension so that https requests can be made.
Installation
The SDK can be installed with Composer:
composer require sapientpro/ebay-traditional-sdk
Example usage
Here is the example usage of the package. Visit wiki for more detailed documentation and examples.
Get the official eBay time
<?php use EBay\SDK\Shopping\Services\ShoppingService; use EBay\SDK\Shopping\Types\GetEbayTimeRequestType; // Create the service object. $service = new Services\ShoppingService(); // Create the request object. $request = new Types\GeteBayTimeRequestType(); // Send the request to the service operation. $response = $service->getEbayTime($request); // Output the result of calling the service operation. printf("The official eBay time is: %s\n", $response->Timestamp->format('H:i (\G\M\T) \o\n l jS Y'));
sapientpro/ebay-traditional-sdk 适用场景与选型建议
sapientpro/ebay-traditional-sdk 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 568 次下载、GitHub Stars 达 1, 最近一次更新时间为 2023 年 06 月 08 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「api」 「sdk」 「ebay」 「shopping」 「trading」 「finding」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 sapientpro/ebay-traditional-sdk 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 sapientpro/ebay-traditional-sdk 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 sapientpro/ebay-traditional-sdk 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
An eBay SDK for PHP. Use the eBay API in your PHP projects.
A PSR-7 compatible library for making CRUD API endpoints
eBay OAuth Client which helps in easy integration
An eBay SDK for PHP. Use the eBay API in your PHP projects.
marketplaces-data-export is a library for generic data export from marketplaces
This package is wrapper for php Ebay sdk for laravel to automate all the configurations and make the skd ready to use.
统计信息
- 总下载量: 568
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 29
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-06-08