PHPackages                             mafikes/kiwiapi - 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. mafikes/kiwiapi

AbandonedArchivedLibrary[API Development](/categories/api)

mafikes/kiwiapi
===============

Kiwi.com - PHP client

1.0.1(7y ago)1621MITPHPPHP &gt;=5.4.0

Since Nov 23Pushed 7y agoCompare

[ Source](https://github.com/mafikes/kiwicom-api)[ Packagist](https://packagist.org/packages/mafikes/kiwiapi)[ RSS](/packages/mafikes-kiwiapi/feed)WikiDiscussions master Synced 3d ago

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

About
-----

[](#about)

Library in php for communication with [kiwi.com API](https://docs.kiwi.com).

Install
-------

[](#install)

```
composer require mafikes/kiwiapi

```

Example
-------

[](#example)

#### Init Client

[](#init-client)

```
$client = new \Mafikes\KiwiApi\Client();
```

#### Locations query

[](#locations-query)

```
$client->getLocations()->searchByQuery([
    'term' => 'PRG',
    'locale' => 'en-US',
    'location_types' => 'airport',
    'limit' => '10',
    'active_only' => 'true',
    'sort' => 'name'
]);
```

#### Get all airlines

[](#get-all-airlines)

```
$client->getAirlines()->getAll();
```

#### Get link logo of airline company

[](#get-link-logo-of-airline-company)

```
$client->getAirlines()->getImage('JQ'); // id airline
```

#### Get basic query for flights

[](#get-basic-query-for-flights)

```
$client->getFlights()->searchByQuery([
    'fly_from' => 'PRG',
    'fly_to' => 'LGW',
    'date_from' => '08/08/2019',
    'date_to' => '08/09/2019',
    'partners' => 'picky',
]);
```

More examples you can find in example folder.

Todo
----

[](#todo)

- search deeplink
- check flights
- save booking
- confirm payment
- webhooks

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 87.5% 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 ~144 days

Total

2

Last Release

2585d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2887190?v=4)[Martin Antoš](/maintainers/mafikes)[@mafikes](https://github.com/mafikes)

---

Top Contributors

[![mafikes](https://avatars.githubusercontent.com/u/2887190?v=4)](https://github.com/mafikes "mafikes (7 commits)")[![njanik](https://avatars.githubusercontent.com/u/1248831?v=4)](https://github.com/njanik "njanik (1 commits)")

### Embed Badge

![Health badge](/badges/mafikes-kiwiapi/health.svg)

```
[![Health](https://phpackages.com/badges/mafikes-kiwiapi/health.svg)](https://phpackages.com/packages/mafikes-kiwiapi)
```

###  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)

PHPackages © 2026

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