zvps/ebay-legacy-php-client
Composer 安装命令:
composer require zvps/ebay-legacy-php-client
包简介
An eBay SDK for PHP. Use the eBay API in your PHP projects.
README 文档
README
This project enables PHP developers to use the eBay API in their PHP code, and build software using services such as Finding, Trading, Shopping, etc. You can get started by installing the SDK via Composer and by following the Basic Usage Guide.
This is a personal project that has been developed by me, David T. Sadler. I decided to create this project to make up for the lack of an official SDK for PHP. It is in no way endorsed, sponsored or maintained by eBay.
Features
- Compatible with PHP 5.5 or greater.
- Easy to install with Composer.
- Compliant with PSR-1, PSR-2 and PSR-4.
Resources
- User Guides - Getting started guide and in-depth information.
- Examples - Several examples of using the SDK.
- Google Group - Join for support with the SDK.
- @devbaydotnet - Follow on Twitter for announcements of releases, important changes and so on.
Requirements
- PHP 5.5 or greater with the following extensions:
- cURL
- libxml
- 64 bit version of PHP recommended 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. Please see the Installation section of the User Guide to learn about installing through other means.
-
Install Composer.
curl -sS https://getcomposer.org/installer | php -
Install the SDK.
php composer.phar require dts/ebay-sdk-php -
Require Composer's autoloader by adding the following line to your code.
require 'vendor/autoload.php';
Example
Get the official eBay time
<?php require 'vendor/autoload.php'; use \DTS\eBaySDK\Shopping\Services; use \DTS\eBaySDK\Shopping\Types; // 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'));
Project Goals
- Be well maintained.
- Be well documented.
- Be well tested.
- Be well supported with working examples.
License
Licensed under the Apache Public License 2.0.
Copyright 2016 David T. Sadler
zvps/ebay-legacy-php-client 适用场景与选型建议
zvps/ebay-legacy-php-client 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 48 次下载、GitHub Stars 达 2, 最近一次更新时间为 2021 年 10 月 07 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「api」 「sdk」 「ebay」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 zvps/ebay-legacy-php-client 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 zvps/ebay-legacy-php-client 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 zvps/ebay-legacy-php-client 相关的其它包
同方向 / 同关键字的高下载量 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.
统计信息
- 总下载量: 48
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 6
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: (Apache-2.0 and MIT) 68a1221c4a0d9269b6fed8b27de8d44fb7a79a55
- 更新时间: 2021-10-07