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

ActiveLibrary[API Development](/categories/api)

ecomlogic/ebay-sdk
==================

An eBay SDK for PHP. Use the eBay API in your PHP projects.

11.0.1(8y ago)03.6k↓100%(Apache-2.0 and MIT)PHPPHP &gt;=5.5

Since Aug 2Pushed 2y ago1 watchersCompare

[ Source](https://github.com/gwinn/ebay-sdk-php)[ Packagist](https://packagist.org/packages/ecomlogic/ebay-sdk)[ Docs](http://devbay.net/)[ RSS](/packages/ecomlogic-ebay-sdk/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (5)Versions (22)Used By (0)

EBAY-SDK-PHP
============

[](#ebay-sdk-php)

[![Build Status](https://camo.githubusercontent.com/74b97ad6f7d0043a3a2edb7df85b217576a3d53b106ff36a30a4c3336da5d870/68747470733a2f2f7472617669732d63692e6f72672f6461766964747361646c65722f656261792d73646b2d7068702e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/davidtsadler/ebay-sdk-php)

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 has been developed by me, [David T. Sadler](http://twitter.com/davidtsadler). I 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 5.5 or greater.
- 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)

- [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.
- [Google Group](https://groups.google.com/forum/#!forum/ebay-sdk-php) - Join for support with the SDK.
- [@devbaydotnet](https://twitter.com/devbaydotnet) - Follow on Twitter for announcements of releases, important changes and so on.

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

[](#requirements)

- PHP 5.5 or greater with the following extensions:
    - cURL
    - libxml
- 64 bit version of PHP recommended 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/). Please see the [Installation section of the User Guide](http://devbay.net/sdk/guides/getting-started/installation.html) to learn about installing through other means.

1. Install Composer.

    ```
    curl -sS https://getcomposer.org/installer | php

    ```
2. Install the SDK.

    ```
    php composer.phar require dts/ebay-sdk-php

    ```
3. Require Composer's autoloader by adding the following line to your code.

    ```
    require 'vendor/autoload.php';
    ```

Example
-------

[](#example)

### Get the official eBay time

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

```
