benmorel/ebay-sdk-php
Composer 安装命令:
composer require benmorel/ebay-sdk-php
包简介
An eBay SDK for PHP. Fork of dts/ebay-sdk-php with support for PHP 8.
README 文档
README
This is a fork of the original dts/ebay-sdk-php by @davidtsadler, with support for PHP 7.3, PHP 7.4 and PHP 8, and compatibility with Guzzle 7.
The original project has been officially abandoned in February 2020.
I'm planning to maintain this fork in the short term. The aim is not to keep it up to date with the latest eBay API versions, but to provide a solution for a smooth upgrade of existing apps to PHP 8. New users should seek a better SDK for PHP.
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.
This is a personal project that was originally developed by David T. Sadler, who 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 7.2+ or PHP 8.0+.
- Easy to install with Composer.
- Compliant with PSR-1, PSR-2 and PSR-4.
Requirements
- PHP 7.2+ or PHP 8.0+ with the following extensions:
- curl
- libxml
- 64 bit version
- SSL enabled on the cURL extension so that https requests can be made.
Installation
The SDK can be installed with Composer:
composer require benmorel/ebay-sdk-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') );
More examples can be found in the ebay-sdk-examples repository.
License
Licensed under the Apache Public License 2.0.
Copyright 2016 David T. Sadler.
benmorel/ebay-sdk-php 适用场景与选型建议
benmorel/ebay-sdk-php 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 538.03k 次下载、GitHub Stars 达 33, 最近一次更新时间为 2020 年 12 月 04 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「api」 「sdk」 「ebay」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 benmorel/ebay-sdk-php 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 benmorel/ebay-sdk-php 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 benmorel/ebay-sdk-php 相关的其它包
同方向 / 同关键字的高下载量 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.
统计信息
- 总下载量: 538.03k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 35
- 点击次数: 11
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: (Apache-2.0 and MIT) 520cb74e6017f25468b3fcd7a1e5a10a5a880638
- 更新时间: 2020-12-04