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

ActiveLibrary[API Development](/categories/api)

shrestharikesh/ebay-sdk-php
===========================

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

v1.0.0(1y ago)067(Apache-2.0 and MIT)PHP

Since Mar 18Pushed 1y agoCompare

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

READMEChangelog (1)Dependencies (5)Versions (3)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 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.

[![Build Status](https://github.com/benmorel/ebay-sdk-php/workflows/CI/badge.svg)](https://github.com/benmorel/ebay-sdk-php/actions)[![Latest Stable Version](https://camo.githubusercontent.com/41d228eb112da8210f8c1fdf1289343b121ce29c68cabd1a1e7b7323290c88d5/68747470733a2f2f706f7365722e707567782e6f72672f62656e6d6f72656c2f656261792d73646b2d7068702f762f737461626c65)](https://packagist.org/packages/benmorel/ebay-sdk-php)[![Total Downloads](https://camo.githubusercontent.com/1ccd760b2220c92e97dafd63a10025f4d3e69104753d95b4f54272bb9bbb4f28/68747470733a2f2f706f7365722e707567782e6f72672f62656e6d6f72656c2f656261792d73646b2d7068702f646f776e6c6f616473)](https://packagist.org/packages/benmorel/ebay-sdk-php)[![License](https://camo.githubusercontent.com/d6499342d03df5acdb39547dfce4b0445614dff6716330f14d8e872a742ff621/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f62656e6d6f72656c2f656261792d73646b2d706870)](https://opensource.org/license/apache-2-0/)
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[](#)

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

[](#features)

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

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

[](#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
------------

[](#installation)

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

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

```

Example
-------

[](#example)

### Get the official eBay time

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

```
