PHPackages                             davispeixoto/opentravel-alliance - 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. davispeixoto/opentravel-alliance

ActiveLibrary[API Development](/categories/api)

davispeixoto/opentravel-alliance
================================

A PHP implementation of OTA (OpenTravel Alliance) 2014B specifications

515PHP

Since May 21Pushed 10y ago6 watchersCompare

[ Source](https://github.com/davispeixoto/PHP-OTA)[ Packagist](https://packagist.org/packages/davispeixoto/opentravel-alliance)[ RSS](/packages/davispeixoto-opentravel-alliance/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

PHP OpenTravel Alliance
=======================

[](#php-opentravel-alliance)

A PHP implementation of [OTA (OpenTravel Alliance)](http://www.opentravel.org/Default.aspx) [2014B specifications](http://www.opentravel.org/Specifications/SchemaIndex.aspx?FolderName=2014B).

[![Latest Stable Version](https://camo.githubusercontent.com/d47a07e0010b6328a281e1b4b92d13e754467fcf7909fa7fb6c6c5be75115746/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6461766973706569786f746f2f6f70656e74726176656c2d616c6c69616e63652e737667)](https://packagist.org/packages/davispeixoto/opentravel-alliance)[![Total Downloads](https://camo.githubusercontent.com/02441eb7eba671dcc151b2b6f437bbffa350af6cfb99519603a6adfaf294416b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6461766973706569786f746f2f6f70656e74726176656c2d616c6c69616e63652e737667)](https://packagist.org/packages/davispeixoto/opentravel-alliance)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/9a0c9afb2947f76975dd0b855e10085c931c8d3e8b37b15d6abf629d301197b1/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6461766973706569786f746f2f5048502d4f54412f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/davispeixoto/PHP-OTA/?branch=master)[![Codacy Badge](https://camo.githubusercontent.com/baddd1d7cfa56c270fb014feadc9731393344fa916452a2795918d1d41fcee7d/68747470733a2f2f7777772e636f646163792e636f6d2f70726f6a6563742f62616467652f6661626639623833316535393434643238633131326330623931343437313036)](https://www.codacy.com/app/davis-peixoto/PHP-OTA)[![Code Climate](https://camo.githubusercontent.com/44ee22225e83584da8eac814ec736ef8f23dc157512c667dd09803a3e2486215/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f6461766973706569786f746f2f5048502d4f54412f6261646765732f6770612e737667)](https://codeclimate.com/github/davispeixoto/PHP-OTA)[![Build Status](https://camo.githubusercontent.com/205d88b3b2cd3ad058e3e43acbb1d83e1801e5903bc7e4239a4004cc66ee0106/68747470733a2f2f7472617669732d63692e6f72672f6461766973706569786f746f2f5048502d4f54412e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/davispeixoto/PHP-OTA)[![SensioLabsInsight](https://camo.githubusercontent.com/b88ff549f4488d8fe277576694e3449cdf719530a8fedf02637f0caf215e776e/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f64306636383336362d303065392d346262352d383331302d6135306166346535343261322f736d616c6c2e706e67)](https://insight.sensiolabs.com/projects/d0f68366-00e9-4bb5-8310-a50af4e542a2)

Word of Warning
---------------

[](#word-of-warning)

I've attempted to create this project using a xsd2php converter. However, the quality of generated code is somewhat degraded as you can see in the badges

- full namespaces in all methods declarations, instead of importing the classes before the class
- not checking if an index is set before accessing it and another error prone constructions
- some classes are really complex due to a lot of set/get/isset/unset methods
- not supporting declared enum types

I will create a xsd to php software on my own for doing this in the future as I haven't found any really good one. Meanwhile, I suggest **NOT USING** this package yet.

Installation
------------

[](#installation)

This package can be installed via [Composer](http://getcomposer.org) by requiring the `davispeixoto/opentravel-alliance` package in your project's `composer.json`.

```
{
    "require": {
        "davispeixoto/opentravel-alliance": "~1.0"
    }
}
```

And running a composer update from your terminal:

```
php composer.phar update
```

Configuration
-------------

[](#configuration)

Usage
-----

[](#usage)

More Information
----------------

[](#more-information)

License
-------

[](#license)

This software is licensed under the [MIT license](http://opensource.org/licenses/MIT)

Versioning
----------

[](#versioning)

This project follows the [Semantic Versioning](http://semver.org/)

Thanks
------

[](#thanks)

An amazing "Thank you, guys!" for [Jetbrains](https://www.jetbrains.com/) folks, who kindly empower this project with a free open-source license for [PhpStorm](https://www.jetbrains.com/phpstorm/) which can bring a whole new level of joy for coding.

[![Jetbrains](https://camo.githubusercontent.com/e587725eb6fa1bcaa58f3a064c2d5ee1da5160886d694fff14c4ad3b5c3939ec/68747470733a2f2f7777772e6a6574627261696e732e636f6d2f636f6d70616e792f646f63732f6c6f676f5f6a6574627261696e732e706e67)](https://www.jetbrains.com/)

[![PhpStorm](https://camo.githubusercontent.com/e32d250f0ad445f314d764220cb54149e6cd1a25852adc602c560b83deb55181/68747470733a2f2f7777772e6a6574627261696e732e636f6d2f70687073746f726d2f646f63756d656e746174696f6e2f646f63732f6c6f676f5f70687073746f726d2e706e67)](https://www.jetbrains.com/phpstorm/)

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/77ce0bed19c054d8812aedfbd93a6d3a9e40935a818917fa4c6c5427bb447d3b?d=identicon)[davispeixoto](/maintainers/davispeixoto)

---

Top Contributors

[![davispeixoto](https://avatars.githubusercontent.com/u/1113230?v=4)](https://github.com/davispeixoto "davispeixoto (10 commits)")

### Embed Badge

![Health badge](/badges/davispeixoto-opentravel-alliance/health.svg)

```
[![Health](https://phpackages.com/badges/davispeixoto-opentravel-alliance/health.svg)](https://phpackages.com/packages/davispeixoto-opentravel-alliance)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[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/gax

Google API Core for PHP

265103.1M454](/packages/google-gax)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)

PHPackages © 2026

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