benmorel/ebay-sdk-php
An eBay SDK for PHP. Fork of dts/ebay-sdk-php with support for PHP 8.
19.3.2
636K downloads/mo
#3705 most downloaded on Packagist
BenMorel/ebay-sdk-php
What this package is like to depend on
Last release 1 years ago
16 Jun 2025
Release timing varies
gaps range from 2 weeks to 2.4 years
Nearly every release is documented
notes for 35 of 38 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
38 releases · first in 2015
0 releases in the last 12 months
see the full history below
Release timeline
38 releases · Aug 2015 to Jun 2025Releases
latest 38-
19.3.216 Jun 2025 -
19.3.112 Jun 2025 -
19.3.010 Jan 2025 -
19.2.005 Apr 2024Release notes
Open source →- Fix deprecated call to
http_build_query(#6 by @Wojtazzzz) - Add IAF token for Shopping API (#1 by @dm-alex)
- Support for guzzlehttp/psr7 2.0 (see #5 by @xtremevision)
Release notes
Open source →- Fix deprecated call to
http_build_query(https://github.com/BenMorel/ebay-sdk-php/pull/6 by @Wojtazzzz) - Add IAF token for Shopping API (https://github.com/BenMorel/ebay-sdk-php/pull/1 by @dm-alex)
- Support for guzzlehttp/psr7 2.0 (see https://github.com/BenMorel/ebay-sdk-php/pull/5 by @xtremevision)
- Fix deprecated call to
-
19.1.012 Aug 2022 -
19.0.005 Dec 2020Release notes
Open source →This is the first release of this fork. This is a bugfix release only.
✨ Fixed compatibility with PHP 7.3, 7.4 & 8.0
✨ Added compatibility with Guzzle 7 (still compatible with Guzzle 6)
🔥 Dropped compatibility with PHP < 7.1Fixes the following upstream issues:
- davidtsadler#279 "Warning: continue targeting switch is equivalent to break." by @CnczubehoerEu cc @michabbb
- davidtsadler#277 "Fix PHP 7.4 compatibility" by @abedham
- davidtsadler#276 "Swap implode parameters" by @abedham
- davidtsadler#264 "Fix php 7.2 notice - replace wrong keyword in XmlParser" by @bethrezen
- davidtsadler#263 "Fix warning in newer versions of php" by @joe-pritchard
- davidtsadler#258 "Use break instead of continue in switch statement" by @joe-pritchard cc @olimortimer @michabbb @yiiprogrammer @skcin7
- davidtsadler#253 "Fix compatibility with PHP 7.3" by @stefnats
- davidtsadler#244 "Update for PHP 7.3 compatibility" by @olimortimer cc @Aristona @yiiprogrammer @willishq @michabbb @izshreyansh @rbur0425
- davidtsadler#241 "PHP 7.3 Error - continue targeting switch is equivalent to break" by @olimortimer cc @michabbb @Aristona @Andicot @yiiprogrammer
To all people cc'ed above: I'm planning to maintain this fork in the short term, mainly for my own use, before I refactor my code to use another library. You're welcome to open PRs or report issues on this fork, but be warned that I'll likely only focus on easy bug fixes and not on upgrading the library to be compatible with the latest eBay APIs, etc.
cc @davidtsadler You may wish to suggest this fork as a replacement in the README / on packagist.org?
Release notes
Open source →First release of this fork.
- ✨ Fixed compatibility with PHP 7.3, 7.4 & 8.0
- ✨ Added compatibility with Guzzle 7 (still compatible with Guzzle 6)
- 🔥 Dropped compatibility with PHP < 7.1
Fixes the following upstream issues:
- https://github.com/davidtsadler/ebay-sdk-php/issues/279 "Warning: continue targeting switch is equivalent to break." by @CnczubehoerEu cc @michabbb
- https://github.com/davidtsadler/ebay-sdk-php/pull/277 "Fix PHP 7.4 compatibility" by @abedham
- https://github.com/davidtsadler/ebay-sdk-php/pull/276 "Swap implode parameters" by @abedham
- https://github.com/davidtsadler/ebay-sdk-php/pull/264 "Fix php 7.2 notice - replace wrong keyword in XmlParser" by @bethrezen
- https://github.com/davidtsadler/ebay-sdk-php/pull/263 "Fix warning in newer versions of php" by @joe-pritchard
- https://github.com/davidtsadler/ebay-sdk-php/pull/258 "Use break instead of continue in switch statement" by @joe-pritchard cc @olimortimer @michabbb @yiiprogrammer @skcin7
- https://github.com/davidtsadler/ebay-sdk-php/pull/253 "Fix compatibility with PHP 7.3" by @stefnats
- https://github.com/davidtsadler/ebay-sdk-php/pull/244 "Update for PHP 7.3 compatibility" by @olimortimer cc @Aristona @yiiprogrammer @willishq @michabbb @izshreyansh @rbur0425
- https://github.com/davidtsadler/ebay-sdk-php/issues/241 "PHP 7.3 Error - continue targeting switch is equivalent to break" by @olimortimer cc @michabbb @Aristona @Andicot @yiiprogrammer
-
18.0.028 Jun 2018Release notes
Open source →Features
- Support Compliance API version v1.1.0
Fixes
- Ensure type attribute exist for ProductID.
-
17.0.012 Jun 2018 -
16.0.012 May 2018Release notes
Open source →Features
- Support Trading API version 1057.
- Add WatchCountDecreaseSort ENUM value for Finding API.
-
15.0.005 Mar 2018Release notes
Open source →Fixes
- Use multipart/form-data when uploading pictures via the Trading UploadSiteHostedPictures operation.
-
14.0.015 Dec 2017Release notes
Open source →Features
- Support Inventory API version 1.5.0.
- Support Fulfillment API version 1.3.0.
- Support Taxonomy API version v1_beta.1.0.
- Support Shopping API version 1027.
- Support Trading API version 1039.
-
13.1.024 Sep 2017 -
13.0.307 Sep 2017Nothing published for this version
-
13.0.228 Aug 2017Nothing published for this version
-
13.0.123 Aug 2017Release notes
Open source →Fixes
- Wrong HTTP method was been used for the processReturnRequest operation.
-
13.0.023 Jun 2017Release notes
Open source →Features
- Support Feed API version v1_beta.0.0
- Support Taxonomy API version v1_beta.0.0.
- Added compressResponse configuration option.
- Added affiliateCampaignId, affiliateReferenceId and contextualLocation configuration options.
- Added Bulk Migrate Listings operation to the Inventory service.
- Support Metadata API version 1.1.0.
- Added Get Shipping Rate Tables operation to the Account service. Note that eBay have not officaly released this operation so it may be subject to change.
- Link to forum at https://forum.devbay.net/c/php-sdk
- Add GalleryURL to Trading\Types\PictureDetailsType. GalleryURL was removed from the Trading API version 997. However it has been seen in the API response. If your project makes use of GalleryURL be aware that eBay may stop returning this information!
Breaking changes
- Support Marketing API version 1.3.0.
- Support Marketing API version 1.2.0.
- Support Order API version v1_beta.6.0.
- Support Trading API version 1019.
- Support Trading API version 1007.
- Support Shopping API version 1007.
- Support Browse API version v1_beta.7.0.
- Support Browse API version v1_beta.6.0.
- Property subDomain changed to subdomain for the Metadata\Types\ErrorDetailV3 class.
- Properties inputRefIds and outputRefIds are repeatable for the Metadata\Types\ErrorDetailV3 class.
Fixes
- Added missing shippingServiceCode property to Fulfillment\Types\ShippingFulfillment.
- Added missing paymentMode property to Fulfillment\Types\Payment.
- Added missing lineItemFulfillmentInstructions property to Fulfillment\Types\LineItem.
- Added missing refunds property to Fulfillment\Types\LineItem.
- Added missing enums to Fulfillment\Enums\OrderPaymentStatusEnum.
- Added missing enums to Fulfillment\Enums\PaymentMethodTypeEnum.
- Added missing priceDiscount property to Fulfillment\Types\Pricingsummary.
- Added missing enums to PostOrder\Enums\CancelReasonEnum.
- Added missing properties to PostOrder\Types\Error.
- Added missing properties to PostOrder\Types\CancelDetail.
- Added missing properties to PostOrder\Types\CancelActivityHistory.
- Added missing property lineItems to PostOrder\Types\CancelSummary.
- Added missing properties itemTitle, cancelQuantity to PostOrder\Types\OrderCancelLineItem.
- Added missing enum to Order\Enums\LineItemPaymentStatusEnum.
-
12.0.115 Jun 2017Release notes
Open source →Fixes
- SDK now ignores properties in the JSON response that would normally trigger an DTS\eBaySDK\Exceptions\UnknownPropertyException exception.
-
12.0.023 May 2017Release notes
Open source →Fixes
- Renamed state to cancelState and status to cancelStatus. This matches the properties returned by the API.
- Changed type from integer to string for ItemEligibilityResult::itemId and ItemEligibilityResult::transactionId
- Added missing subdomain property to PostOrder\Error.
- Added missing discountAmount property to Fulfillment\DeliveryCost.
-
11.0.020 Mar 2017Release notes
Open source →Breaking changes
- Support Marketing API version 1.1.0.
- Removed constant DTS\eBaySDK\Marketing\Enuns\InventoryCriterionEnum::C_INVALID.
- Removed property inventoryReferenceType from DTS\eBaySDK\Marketing\TypesInventoryItem class.
-
10.0.017 Mar 2017Release notes
Open source →Breaking changes
- Support Trading API version 997.
Features
- Can now use SDK to handle generation of OAUTH tokens for the RESTFul services.
-
9.0.106 Mar 2017Release notes
Open source →Fixes
- Correct mapping between offer_Id and offerId for the UpdateOffer operation in the Inventory service.
-
9.0.001 Mar 2017Release notes
Open source →Breaking changes
- Correct production URL now used for Order service.
- Support Inventory API version 1.1.0.
- Support Order API version v1_beta.4.0
- Support Trading API version 991.
- Use correct string type for orderFulfillmentStatus and fulfillmentInstructionsType properties.
-
8.0.026 Jan 2017Release notes
Open source →Breaking changes
- Support Shopping API version 983.
- Support Trading API version 983.
- SDK now uses HTTPS service endpoint when available.
Features
- Allow object properties to be any type.
- Support Account API version 1.
- Support Analytics API version 1.
- Support Browse API version 1.
- Support Fulfillment API version 1.
- Support Inventory API version 1.
- Support Marketing API version 1.
- Support Metadata API version 1.
- Support Order API version 1.
- Support Post Order API version 2.
- Support Product API version 1.4.0.
- Support Product Metadata API version 1.3.0.
- Support Merchandising API version 1.5.0.
- Support Feedback API version 1.2.2.
- Support Related Items Management API version 1.0.0.
- Configuration option httpOptions now supports http_errors.
- Configuration option httpOptions now supports curl.
- Oauth Token can be used with the Trading service.
-
7.0.003 Sep 2016Release notes
Open source →Breaking changes
- Support Merchant Data API version 981.
- Support Shopping API version 981.
- Support Trading API version 981.
Fixes
- Allow properties on
DTS\eBaySDK\Types\DecimalTypeobjects to be assigned bothintegeranddoublevalues.
Features
- The SDK now supports JMESPath expressions that allow you to declaratively extract data from an API response.
-
6.0.030 Aug 2016Release notes
Open source →Breaking changes
- Support Shopping API version 979.
- Support Trading API version 979.
-
5.0.004 Jun 2016Release notes
Open source →Doc
- Fixed issue with JMS seriallizer. Documentation was incorrectly using @returns instead of @return.
find src -type f -iname "*.php" | xargs grep -l @returns | xargs sed -i 's/@returns/@return/'Features
- The SDK now supports asynchronous requests.
- HTTP options can be passed to the HTTP client via the new configuration option httpOptions.
Breaking changes
- Support Merchant Data API version 965.
- Support Trading API version 967.
- The protected method
\DTS\eBaySDK\Services::BaseService::callOperationhas been removed. Code that called this method will now need to callcallOperationAsync(...)->wait()instead. - The
handlerconfiguration option is now called httpHandler and supports the new httpOptions configuration option. - The class
\DTS\eBaySDK\Handleris now\DTS\eBaySDK\HttpHandler.
-
4.0.125 May 2016 -
4.0.024 Apr 2016Release notes
Open source →Breaking changes
- Support Trading API version 963.
- Support Shopping API version 963.
-
3.0.011 Apr 2016Release notes
Open source →Breaking changes
- Support Trading API version 961.
- Support Shopping API version 961.
-
2.0.028 Mar 2016Release notes
Open source →Breaking changes
- Support Trading API version 959.
- Support Shopping API version 959.
Doc
- Added version information.
- Corrected site map for API guide.
-
1.0.019 Mar 2016Release notes
Open source →As this is version 1.0.0 there are a few breaking changes. A full list can be found in the migration guide.
-
0.6.028 Nov 2015Nothing published for this version
-
0.5.020 Nov 2015Release notes
Open source →Fixes
- Some properties where incorrectly declared as being
DTS\eBaySDK\ResolutionCaseManagement\Types\Integerinstead ofinteger. - Correct URLs for Resolution Case Management service.
API
- Support Trading API version 947.
- Some properties where incorrectly declared as being
-
0.4.007 Nov 2015Release notes
Open source →Feature
SDK now supports the Return Management service.
Fix
SDK can now handle XML that is returned with namespaces.
API
- Support Merchant Data API version 945.
- Support Trading API version 945.
-
0.3.011 Oct 2015Release notes
Open source →API
- Support Merchant Data API version 941.
- Support Shopping API version 941.
- Support Trading API version 941.
Fixes
Order of object properties now matches the order specified in the service WSDL. Some operations require the elements in the XML to be in the correct order. Since the object properties were originally in alphabetical order the resulting XML would not be valid.
The generated XML is no longer a single string. It was possible to generate XML that was greater than the 20,000 character limit found in the LMS. Each element in the XML is now separated by a line-feed character.
-
0.2.011 Aug 2015Release notes
Open source →API
- Support Merchant Data API version 933.
- Support Trading API version 933.
-
0.1.105 Aug 2015Release notes
Open source →Feature
Assigning values when instatiating an object has been improved. It is now possible to simply pass an associative array of property names and values. When a property expects an object as its value you can just pass another associative array instead. For example,
$variation = new Types\VariationType(array( 'SKU' => 'TS-W-S', 'Quantity' => 5, 'StartPrice' => ['value' => 10.99], 'VariationSpecifics' => [[ 'NameValueList' => [ ['Name' => 'Color', 'Value' => ['White']], ['Name' => "Size (Men's)", 'Value' => ['S']] ] ]] ));This feature is compatiable with the existing method and so you can mix and match as in the example below.
$variation = new Types\VariationType(array( 'SKU' => 'TS-W-S', 'Quantity' => 5, 'StartPrice' => new Types\AmountType(['value' => 10.99]), 'VariationSpecifics' => [[ 'NameValueList' => [ new Types\NameValueListType(['Name' => 'Color', 'Value' => ['White']]), ['Name' => "Size (Men's)", 'Value' => ['S']] ] ]] )); -
0.1.002 Aug 2015Release notes
Open source →Initial Release
API
- Support Merchant Data API version 931.
- Support Trading API version 931.