PHPackages                             smokymountains/ean-client - 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. smokymountains/ean-client

ActiveLibrary

smokymountains/ean-client
=========================

Client for consuming the EAN Hotel API, based on Guzzle - forked for Guzzle 6.0

0.7.5(8y ago)012MITPHPPHP &gt;=5.4

Since Nov 3Pushed 8y ago1 watchersCompare

[ Source](https://github.com/smokymountains/ean-client)[ Packagist](https://packagist.org/packages/smokymountains/ean-client)[ RSS](/packages/smokymountains-ean-client/feed)WikiDiscussions master Synced 2mo ago

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

ean-client
==========

[](#ean-client)

A PHP implementation of the EAN Hotel API.

Supports all API requests and both IP and signature authentication. Internally it uses the XML request and response types.

[![Build Status](https://camo.githubusercontent.com/5d4ae1ee4d2b0f0aa97f3ce73d9e74b60da26bcbb994aa648d8c0a238c24e0e6/68747470733a2f2f7472617669732d63692e6f72672f6f6e6c696e6574726176656c67726f75702f65616e2d636c69656e742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/onlinetravelgroup/ean-client)

Usage
-----

[](#usage)

Each of the API services are represented by a method on the `HotelClient` object. Each API method takes parameters in a single array argument and returns the results as an array. The parameter names and structure match those of the [API spec](http://developer.ean.com/spec/).

A HotelClient object is instantiated using the `HotelClient::factory()` method

```
