PHPackages                             arslansheikh-2coder/travelport - 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. arslansheikh-2coder/travelport

ActiveLibrary[API Development](/categories/api)

arslansheikh-2coder/travelport
==============================

PHP client library for Travelport SOAP API

v19.2.6(4y ago)016MITPHPPHP ^7.1.3

Since Mar 5Pushed 4y agoCompare

[ Source](https://github.com/arslansheikh-2coder/travelport)[ Packagist](https://packagist.org/packages/arslansheikh-2coder/travelport)[ RSS](/packages/arslansheikh-2coder-travelport/feed)WikiDiscussions master Synced 3w ago

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

PHP client library for Travelport SOAP API
==========================================

[](#php-client-library-for-travelport-soap-api)

[![Latest Version on Packagist](https://camo.githubusercontent.com/2ca9f08db24e9350e895e9cdf65f47a11fccb73d96ca5874ea5ef61d50458d1e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f66696c6970706f2d746f736f2f74726176656c706f72742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/filippo-toso/travelport)

With this library you can call the Travelport SOAP methods in a object oriented way.

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

[](#installation)

You can install the package via composer:

```
composer require link2arslan/travelport
```

Usage
-----

[](#usage)

If you don't have the required credentials you can register for a trial on this page:

Here is a pure PHP example:

```
use FilippoToso\Travelport;
use FilippoToso\Travelport\System;

// Create the API client
$travelport = new Travelport\Travelport(
    'Universal API/uAPI123456789', // Travelport User ID
    'ABCDEFGHILMNOQRSTUVZ', // Travelport Password
    'P1234567', // Travelport Target Branch
    Travelport\Endpoints::REGION_EMEA, // Region
    false // Set to false to use pre-production endpoints
);

// Create a Time request on the System service
$request = (new System\TimeReq())
    ->setBillingPointOfSaleInfo(new System\BillingPointOfSaleInfo('UAPI')); // Don't know what this is, but it's required to complete a call :(

// Execute the request
$response = $travelport->execute($request);
printf('The current system time is %s', $response->getSystemTime());

// Create a Ping request on the System service
$request = (new System\PingReq())
    ->setPayload('Hello World!')
    ->setBillingPointOfSaleInfo(new System\BillingPointOfSaleInfo('UAPI')); // Don't know what this is, but it's required to complete a call :(

// Execute the request
$response = $travelport->execute($request);
printf('Travelport pinged back: %s', $response->getPayload());
```

This library supports almost all the requests and responses available. They can be executed in the same way:

- Create the response object
- Execute the request
- Use the methods in the answer to get the information you need

You can browser the library source code to understand which methods are available. Usually the request object names end with "Req" and the corrisponding responses end with "Rsp" (ie. System\\TimeReq and System\\TimeRsp).

### Laravel support

[](#laravel-support)

You can also use this library in your Laravel applications.

The first step whould be to publish the configuration file:

```
php artisan vendor:publish --tag=config --provider="FilippoToso\Travelport\TravelportServiceProvider"

```

Then insert your credentials in the config\\travelport.php file.

Then you can execute requests with a code like this:

```
use FilippoToso\Travelport;
use FilippoToso\Travelport\System;

// Create a Time request on the System service
$request = (new System\TimeReq())
    ->setBillingPointOfSaleInfo(new System\BillingPointOfSaleInfo('UAPI')); // Don't know what this is, but it's required to complete a call :(

// Execute the request
$response = Travelport::execute($request);
printf('The current system time is %s', $response->getSystemTime());

// Create a Ping request on the System service
$request = (new System\PingReq())
    ->setPayload('Hello World!')
    ->setBillingPointOfSaleInfo(new System\BillingPointOfSaleInfo('UAPI')); // Don't know what this is, but it's required to complete a call :(

// Execute the request
$response = Travelport::execute($request);
printf('Travelport pinged back: %s', $response->getPayload());
```

### Schema version

[](#schema-version)

The current version of this library supports the 19.2 schema version. I hope to keep it updated at least once a year.

### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Filippo Toso](https://github.com/filippotoso)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 81.8% 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 ~55 days

Recently: every ~154 days

Total

19

Last Release

1683d ago

Major Versions

v1.0.7 → v2.0.02019-08-26

v2.2.0 → v19.2.02019-12-18

PHP version history (2 changes)v1.0.0PHP ^7.1

v1.0.7PHP ^7.1.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/8378e40f57e231a75a0e9be2c26fb61809ca67e118e796e0a56a745ad75730b3?d=identicon)[arslansheikh-2coder](/maintainers/arslansheikh-2coder)

---

Top Contributors

[![filippotoso](https://avatars.githubusercontent.com/u/26958813?v=4)](https://github.com/filippotoso "filippotoso (18 commits)")[![arslandixeam](https://avatars.githubusercontent.com/u/80759295?v=4)](https://github.com/arslandixeam "arslandixeam (2 commits)")[![link2arslan](https://avatars.githubusercontent.com/u/71367037?v=4)](https://github.com/link2arslan "link2arslan (2 commits)")

### Embed Badge

![Health badge](/badges/arslansheikh-2coder-travelport/health.svg)

```
[![Health](https://phpackages.com/badges/arslansheikh-2coder-travelport/health.svg)](https://phpackages.com/packages/arslansheikh-2coder-travelport)
```

###  Alternatives

[defstudio/telegraph

A laravel facade to interact with Telegram Bots

815320.5k3](/packages/defstudio-telegraph)[riclep/laravel-storyblok

A Laravel wrapper around the Storyblok API to provide a familiar experience for Laravel devs

6277.0k5](/packages/riclep-laravel-storyblok)[jasara/php-amzn-selling-partner-api

A fluent interface for Amazon's Selling Partner API in PHP

1348.1k1](/packages/jasara-php-amzn-selling-partner-api)[rapidez/core

Rapidez Core

1822.4k65](/packages/rapidez-core)

PHPackages © 2026

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