Download the PHP package filippo-toso/travelport without Composer
On this page you can find all versions of the php package filippo-toso/travelport. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download filippo-toso/travelport
More information about filippo-toso/travelport
Files in filippo-toso/travelport
Package travelport
Short Description PHP client library for Travelport SOAP API
License MIT
Informations about the package travelport
PHP client library for Travelport SOAP API
With this library you can call the Travelport SOAP methods in a object oriented way.
Installation
You can install the package via composer:
Usage
If you don't have the required credentials you can register for a trial on this page: https://developer.travelport.com/web/developer/contact-us?type=UAPI
Here is a pure PHP example:
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
You can also use this library in your Laravel applications.
The first step whould be to publish the configuration file:
Then insert your credentials in the config\travelport.php file.
Then you can execute requests with a code like this:
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
Please see CHANGELOG for more information what has changed recently.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.