PHPackages                             greevex/travel-payouts - 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. greevex/travel-payouts

ActiveLibrary[API Development](/categories/api)

greevex/travel-payouts
======================

PHP SDK for travelpayouts.com (forked from thewulf7/travel-payouts)

v1.2.1(8y ago)022MITPHPPHP &gt;=5.4.0

Since Dec 7Pushed 8y agoCompare

[ Source](https://github.com/greevex/travel-payouts)[ Packagist](https://packagist.org/packages/greevex/travel-payouts)[ RSS](/packages/greevex-travel-payouts/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (5)Versions (13)Used By (0)

Travel Payouts PHP SDK
======================

[](#travel-payouts-php-sdk)

[ ![Codeship Status for thewulf7/travel-payouts](https://camo.githubusercontent.com/255cf39a7b0f580c8244739f847588ca102acadba55c7578f669310a3c658a54/68747470733a2f2f636f6465736869702e636f6d2f70726f6a656374732f30376262356136302d376339352d303133332d323432642d3236656638663263336430352f7374617475733f6272616e63683d6d6173746572)](https://codeship.com/projects/119977)

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

[](#installation)

\###Composer

```
composer require thewulf7/travel-payouts

```

or add to your composer.json file, in the "require" section

```
"thewulf7/travel-payouts": "1.1.*"

```

\##Usage

First of all create main Travel object and pass your token in it

```
use thewulf7\travelPayouts\Travel;

$travel = new Travel('YOUR TOKEN HERE');
```

Then you can use it get different services

\###Tickets service

```
$ticketService = $travel->getTicketsService();
//Get flights found by our users in the last 48 hours from LED to MOW. Return array consists of thewulf7\travelPayouts\Ticket objects.
$flights = $ticketService->getLatestPrices('LED', 'MOW', false, 'rub', 'year', 1, 10);
```

See [documentation](https://github.com/thewulf7/travel-payouts/wiki/TicketService)

\###Flight service

```
$flightService = $travel->getFlightService();
$flightService
       ->setIp('127.0.0.1')
       ->setHost('aviasales.ru')
       ->setMarker('123')
       ->addPassenger('adults', 2)
       ->addSegment('LED', 'MOW', '2016-02-01');
$searchData    = $flightService->search('ru', 'Y');
$searchResults = $flightService->getSearchResults($searchData['search_id']);
```

\###Partner service

```
$partnerService = $travel->getPartnerService();
//get user balance and currency of the balance
list($balance, $currency) = $partnerService->getBalance();
```

\###Data service

```
$dataService = $travel->getDataService();
//get all airports in the system
$airports    = $dataService->getAirports();
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 82.6% 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 ~84 days

Recently: every ~162 days

Total

9

Last Release

3139d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/50fd9e0d9f7dbe8e2e4f0f931f4ceccda0a20886abc7874b079f2ec6dab3051c?d=identicon)[greevex](/maintainers/greevex)

---

Top Contributors

[![thewulf7](https://avatars.githubusercontent.com/u/1582808?v=4)](https://github.com/thewulf7 "thewulf7 (19 commits)")[![greevex](https://avatars.githubusercontent.com/u/148401?v=4)](https://github.com/greevex "greevex (3 commits)")[![fortis](https://avatars.githubusercontent.com/u/1042494?v=4)](https://github.com/fortis "fortis (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/greevex-travel-payouts/health.svg)

```
[![Health](https://phpackages.com/badges/greevex-travel-payouts/health.svg)](https://phpackages.com/packages/greevex-travel-payouts)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)[thewulf7/travel-payouts

PHP SDK for travelpayouts.com

131.8k](/packages/thewulf7-travel-payouts)

PHPackages © 2026

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