PHPackages                             filippo-toso/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. filippo-toso/travelport

ActiveLibrary[API Development](/categories/api)

filippo-toso/travelport
=======================

PHP client library for Travelport SOAP API

v19.2.4(6y ago)1150316MITPHPPHP ^7.1.3

Since Mar 5Pushed 6y agoCompare

[ Source](https://github.com/filippotoso/travelport)[ Packagist](https://packagist.org/packages/filippo-toso/travelport)[ RSS](/packages/filippo-toso-travelport/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (18)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 filippo-toso/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

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity64

Established project with proven stability

 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.

###  Release Activity

Cadence

Every ~24 days

Total

17

Last Release

2239d 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/55d89f2d44fb12225de2119994028ee69e36770bcf33c2b1ddf0d6672d28151b?d=identicon)[filippo.toso](/maintainers/filippo.toso)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/filippo-toso-travelport/health.svg)

```
[![Health](https://phpackages.com/badges/filippo-toso-travelport/health.svg)](https://phpackages.com/packages/filippo-toso-travelport)
```

###  Alternatives

[mollie/laravel-mollie

Mollie API client wrapper for Laravel &amp; Mollie Connect provider for Laravel Socialite

3624.1M28](/packages/mollie-laravel-mollie)[mll-lab/laravel-graphiql

Easily integrate GraphiQL into your Laravel project

683.2M9](/packages/mll-lab-laravel-graphiql)[spatie/laravel-route-discovery

Auto register routes using PHP attributes

23645.0k2](/packages/spatie-laravel-route-discovery)[esign/laravel-conversions-api

A laravel wrapper package around the Facebook Conversions API

69145.4k](/packages/esign-laravel-conversions-api)[didww/didww-api-3-php-sdk

PHP SDK for DIDWW API 3

1218.2k](/packages/didww-didww-api-3-php-sdk)[surface/laravel-webfinger

A Laravel package to create an ActivityPub webfinger.

113.8k](/packages/surface-laravel-webfinger)

PHPackages © 2026

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