PHPackages                             steverhoades/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. steverhoades/ebay-sdk-php

ActiveLibrary[API Development](/categories/api)

steverhoades/ebay-sdk-php
=========================

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

v1.0.1(4y ago)4108[2 issues](https://github.com/steverhoades/ebay-sdk-php/issues)(Apache-2.0 and MIT)PHP

Since Oct 27Pushed 4y ago1 watchersCompare

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

READMEChangelog (2)Dependencies (5)Versions (4)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.

The original project by David T. Sadler was abandoned in February 2020 and was subsequently updated by [Ben Morel](https://github.com/benmorel). After speaking with David I have decided to take over the project until eBay moves to an entirely Restful API.

\--

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 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 7.4 or PHP 8.
- 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/) and [PSR-4](http://www.php-fig.org/psr/psr-4/).

Resources
---------

[](#resources)

- [Examples](https://github.com/davidtsadler/ebay-sdk-examples) - Several examples of using the SDK.

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

[](#requirements)

- PHP 7.4 or PHP 8 with the following extensions:
    - curl
    - libxml
- 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 steverhoades/ebay-sdk-php

```

Example
-------

[](#example)

### Get the official eBay time

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

```
