PHPackages                             szymekjanaczek/ebay-sdk-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. szymekjanaczek/ebay-sdk-php

ActiveLibrary[API Development](/categories/api)

szymekjanaczek/ebay-sdk-php
===========================

An eBay SDK for PHP. Fork of dts/ebay-sdk-php with support for PHP 8.2.

20.1.0(3y ago)147(Apache-2.0 and MIT)PHP

Since Aug 2Pushed 3y agoCompare

[ Source](https://github.com/szymekjanaczek/ebay-sdk-php)[ Packagist](https://packagist.org/packages/szymekjanaczek/ebay-sdk-php)[ RSS](/packages/szymekjanaczek-ebay-sdk-php/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (8)Versions (39)Used By (0)

eBay SDK for PHP
================

[](#ebay-sdk-for-php)

This is a fork of the original [dts/ebay-sdk-php](https://github.com/davidtsadler/ebay-sdk-php) by [@davidtsadler](https://github.com/davidtsadler), with support for PHP 7.3, PHP 7.4 and PHP 8, and compatibility with Guzzle 7. ...and the fork of the BenMorel's fork [BenMorel/ebay-sdk-php](https://github.com/BenMorel/ebay-sdk-php), 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. ~ [Benjamin Morel](https://github.com/BenMorel)

Last year, [Benjamin Morel](https://github.com/BenMorel) updated it to be compatible with PHP 8.0, then me cleaned codebase and prepared for use with PHP ≥8.0.

---

This project enables PHP developers to use the [eBay API](https://go.developer.ebay.com/api-documentation) in their PHP code, and build software using services such as [Finding](http://developer.ebay.com/Devzone/finding/Concepts/FindingAPIGuide.html), [Trading](http://developer.ebay.com/DevZone/guides/ebayfeatures/index.html), [Shopping](http://developer.ebay.com/Devzone/shopping/docs/Concepts/ShoppingAPIGuide.html), etc. You can get started by [installing the SDK via Composer](http://devbay.net/sdk/guides/getting-started/installation.html) and by following the [Basic Usage Guide](http://devbay.net/sdk/guides/getting-started/basic-usage.html).

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
--------

[](#features)

- Compatible with PHP ≥8.0.
- Easy to install with [Composer](http://getcomposer.org/).
- Compliant with [PSR-1](http://www.php-fig.org/psr/psr-1/), [PSR-2](http://www.php-fig.org/psr/psr-2/), [PSR-4](http://www.php-fig.org/psr/psr-4/) and [PSR-12](http://www.php-fig.org/psr/psr-12/).

Resources
---------

[](#resources)

- [User Guides](http://devbay.net/sdk/guides/) - Getting started guide and in-depth information.
- [Examples](https://github.com/davidtsadler/ebay-sdk-examples) - Several examples of using the SDK.

Requirements
------------

[](#requirements)

- PHP ≥8.0 with the following extensions:
    - production:
        - curl
        - libxml
        - xmlwriter
    - package development purposes:
        - dom
        - tokenizer
        - simplexml
- 64 bit version as there are some [issues when using the SDK with 32 bit](http://devbay.net/sdk/guides/getting-started/requirements.html#using-the-sdk-with-32-bit-systems).
- SSL enabled on the cURL extension so that https requests can be made.

Installation
------------

[](#installation)

The SDK can be installed with [Composer](http://getcomposer.org/):

```
composer require szymekjanaczek/ebay-sdk-php

```

Example
-------

[](#example)

### Get the official eBay time

[](#get-the-official-ebay-time)

```
