PHPackages                             andreiashu/expedia-php-api - 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. andreiashu/expedia-php-api

ActiveLibrary[API Development](/categories/api)

andreiashu/expedia-php-api
==========================

Fork of https://github.com/dyatlov/Expedia-PHP-API (thanks dyatlov)

v1.0.4(11y ago)2643MITPHPPHP &gt;=5.3.0

Since Apr 18Pushed 11y agoCompare

[ Source](https://github.com/andreiashu/Expedia-PHP-API)[ Packagist](https://packagist.org/packages/andreiashu/expedia-php-api)[ Docs](https://github.com/andreiashu/Expedia-PHP-API)[ RSS](/packages/andreiashu-expedia-php-api/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (7)DependenciesVersions (5)Used By (0)

Expedia-PHP-API
===============

[](#expedia-php-api)

PHP Wrapper for Expedia API

Official API documentation can be found here:

For usage examples please take a look at source code of `example.php` file.

Methods
=======

[](#methods)

- `__construct( $cid, $key )` - constructs expedia api instance based on client id and api key
- `getHotelList` - get hotels list ( doc:  )
- `getHotelInfo` - retrieve single hotel details ( doc:  )
- `getAvailableRooms` - retrieve available rooms for given hotel ( doc:  )
- `getPaymentOptions` - retrieve supported payment methods ( doc:  )
- `set_method` - set method to call api (GET or POST)
- `set_protocol` - set prefix for api url ('http://' or '.')
- `set_minor_rev` - set minimal api version
- `set_locale` - set preferred locale which will be used to return results
- `set_currency_code` - set currency for results (can be USD, AUD, RUR etc..)
- `set_customer_session_id` - set unique customer session, required by api
- `set_customer_ip_address` - set customer ip address
- `set_customer_user_agent` - set customer user agent
- `set_sig` - if you're using signature authentication, then set this
- `*` - if you want to use an api method which is not implemented in this wrapper - then simply call it by name and it will be translated to api method call. Example: lets assume that we want to call method `rules` (). Then we need to check method name in documentation. We go to documentation page and look for method REST URL and get last part (after v3/) from it. In our case it is `rules`. Then we simply call it like: `$hotelRules = $this->rules(array('hotelId' => 123, ...));`.

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 60% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

4

Last Release

4047d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/342638?v=4)[andreiashu](/maintainers/andreiashu)[@andreiashu](https://github.com/andreiashu)

---

Top Contributors

[![dyatlov](https://avatars.githubusercontent.com/u/360998?v=4)](https://github.com/dyatlov "dyatlov (9 commits)")[![andreiashu](https://avatars.githubusercontent.com/u/342638?v=4)](https://github.com/andreiashu "andreiashu (6 commits)")

---

Tags

eanexpediahotels

### Embed Badge

![Health badge](/badges/andreiashu-expedia-php-api/health.svg)

```
[![Health](https://phpackages.com/badges/andreiashu-expedia-php-api/health.svg)](https://phpackages.com/packages/andreiashu-expedia-php-api)
```

###  Alternatives

[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[facebook/php-business-sdk

PHP SDK for Facebook Business

90821.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

74513.7M114](/packages/meilisearch-meilisearch-php)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)[hubspot/api-client

Hubspot API client

23914.2M16](/packages/hubspot-api-client)[lstrojny/fxmlrpc

Fast and tiny XML/RPC client with bridges for various HTTP clients

1425.4M30](/packages/lstrojny-fxmlrpc)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
