maverickslab/ebay-legacy
Composer 安装命令:
composer require maverickslab/ebay-legacy
包简介
This package is a layer over eBay's trading api to make interaction with eBay easier
README 文档
README
###Requirements ####Cloudinary In order to use this package for listing products to eBay, you need to create a cloudinary account.
Dependencies
- Php ^5.3.3 || ^7.0
- guzzlehttp/guzzle ^6.2
- cloudinary/cloudinary_php ^1.7
Set up
- run composer require maverickslab/ebay-legacy
- run php artisan vendor:publish
- edit your configuration files "config/ebay.php"
Authenticating
To authorize your app to make requests to eBay on behalf of the merchant, you need to go though the authentication flow. Set up an app on the eBay developer portal.
- Set your accepted url to an endpoint on your app to receive the token. The default route on the package is ..yourdomain/ebay/authorized. You can extend the EbayController and override the authorized method to handle the token response.
- Set your declined/rejected url to an endpoint on your app to receive the token. The default route on the package is ..yourdomain/ebay/declined. You can extend the EbayController and override the declined method to handle the token response.
Make a request to ...yourdomain/ebay/install to test installation flow.
Making requests
In order to make requests, you have to make sure you have provided the required params in the ebay.php file in your config directory. To do this, copy and paste this in your .env file and make the necessary changes
EBAY_COMPATIBILITY_LEVEL=951 EBAY_RUNAME=XXXXXXXXX EBAY_API_APP_NAME=XXXXXXXXX EBAY_API_CERT_NAME=XXXXXXXXX EBAY_API_DEV_NAME=XXXXXXXXX EBAY_SIGN_IN_URL=https://signin.sandbox.ebay EBAY_BASE_URL=https://api.sandbox.ebay.com/ws/api.dll EBAY_WARNING_LEVEL=High EBAY_ERROR_LANGUAGE=en_US EBAY_USER_TOKEN=XXXXXXXXX
Request methods
Features
- Authenticating with eBay
- Import products from eBay
- Create listings on eBay
- Import orders on eBay
- Update orders on eBay
maverickslab/ebay-legacy 适用场景与选型建议
maverickslab/ebay-legacy 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 260 次下载、GitHub Stars 达 2, 最近一次更新时间为 2017 年 05 月 02 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「laravel」 「ebay」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 maverickslab/ebay-legacy 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 maverickslab/ebay-legacy 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 maverickslab/ebay-legacy 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
An eBay SDK for PHP. Use the eBay API in your PHP projects.
eBay OAuth Client which helps in easy integration
Alfabank REST API 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.
统计信息
- 总下载量: 260
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 10
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-05-02