PHPackages                             beishanwen/php-openrtb - 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. beishanwen/php-openrtb

ActiveLibrary[API Development](/categories/api)

beishanwen/php-openrtb
======================

beishanwen php OpenRTB

v1.0(8y ago)21.8k4MITPHPPHP &gt;=5.5.0

Since Aug 24Pushed 8y ago1 watchersCompare

[ Source](https://github.com/beishanwen/php-openrtb)[ Packagist](https://packagist.org/packages/beishanwen/php-openrtb)[ RSS](/packages/beishanwen-php-openrtb/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (1)Dependencies (2)Versions (3)Used By (0)

OpenRTB 2.4 for PHP
===================

[](#openrtb-24-for-php)

This library has been created for PHP developers using the OpenRTB protocol. It provides a very lightweight wrapper to create, validate, and hydrate **Bid Requests** and **Bid Responses**. Getting started could not be easier, find our package on packagist:

Install by adding { .. "beishanwen/php-openrtb": "1.0" .. } to your composer.json file.

The wrapper requires Guzzle. This can be used to further extends the library where required. More information about Guzzle can be found here:

### Installing via Composer

[](#installing-via-composer)

The recommended way to install Guzzle is through [Composer](http://getcomposer.org).

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

Next, run the Composer command to install the latest stable version of Guzzle:

```
composer.phar require beishanwen/php-openrtb
```

After installing, you need to require Composer's autoloader:

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

### PHP Examples

[](#php-examples)

```
