PHPackages                             emerging-travel/papi-sdk-php - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. emerging-travel/papi-sdk-php

ActiveLibrary[HTTP &amp; Networking](/categories/http)

emerging-travel/papi-sdk-php
============================

pAPI SDK is a PHP SDK for ETG APIv3

v0.0.4(5y ago)62.5k2MITPHPPHP ^7.2.5 || ^8.0

Since Jun 24Pushed 4y ago2 watchersCompare

[ Source](https://github.com/EmergingTravel/papi-sdk-php)[ Packagist](https://packagist.org/packages/emerging-travel/papi-sdk-php)[ RSS](/packages/emerging-travel-papi-sdk-php/feed)WikiDiscussions main Synced 3w ago

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

pAPI SDK
========

[](#papi-sdk)

[![main workflow](https://github.com/emergingtravel/papi-sdk-python/workflows/Main/badge.svg)](https://github.com/emergingtravel/papi-sdk-python/workflows/Main/badge.svg)[![license](https://camo.githubusercontent.com/a8b0e2c11e0fa51c26826e0901da34d73f2f1cd89564565bfb3f190e08a0bc0f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f656d657267696e6774726176656c2f706170692d73646b2d707974686f6e2e737667)](https://camo.githubusercontent.com/a8b0e2c11e0fa51c26826e0901da34d73f2f1cd89564565bfb3f190e08a0bc0f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f656d657267696e6774726176656c2f706170692d73646b2d707974686f6e2e737667)[![downloads/month](https://camo.githubusercontent.com/1161070a154ce7360803483beba54f15c1e3aedaa16b4b1e716eb406670414ad/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f656d657267696e672d74726176656c2f706170692d73646b2d706870)](https://camo.githubusercontent.com/1161070a154ce7360803483beba54f15c1e3aedaa16b4b1e716eb406670414ad/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f656d657267696e672d74726176656c2f706170692d73646b2d706870)[![php version](https://camo.githubusercontent.com/2ba4ded4eac94b89245d46cb9ee230d3edc5e04f4e421e5194d0a586fb5e8a70/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f656d657267696e672d74726176656c2f706170692d73646b2d706870)](https://camo.githubusercontent.com/2ba4ded4eac94b89245d46cb9ee230d3edc5e04f4e421e5194d0a586fb5e8a70/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f656d657267696e672d74726176656c2f706170692d73646b2d706870)

pAPI SDK is a PHP SDK for [ETG APIv3](https://docs.emergingtravel.com/). The abbreviation "pAPI" stands for "Partner API". To know more about the benefits of our API integration or to sign up please check our [website](https://www.ratehawk.com/lp/en/API).

Requirements
------------

[](#requirements)

- PHP 7.2+

The package depends on the following:

- [guzzlehttp/guzzle](https://github.com/guzzle/guzzle)
- [netresearch/jsonmapper](https://github.com/cweiske/jsonmapper)

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

[](#installation)

```
composer require emerging-travel/papi-sdk-php
```

Quickstart
----------

[](#quickstart)

To start using ETG APIv3 you need a key, which you received after registration. A key is a combination of an `id` and `uuid`. These are passed into each request as a Basic Auth header after initialization. `APIv3` supports all arguments provided by [guzzle](https://github.com/guzzle/guzzle).

```
require 'vendor/autoload.php';
use PAPI\APIv3\Client;

$client = new Client('1000:022a2cf1-d279-02f3-9c3c-596aa09b827b');
```

Then you can use all available methods. Say you want to check an overview of the available methods (which is `api/b2b/v3/overview` endpoint), you do:

```
$overview = $client->overview()
```

Note: if you don't provide your headers and specifically your `User-Agent` in requests options then it will be automatically added, ex. `papi_sdk/v1.0.0 GuzzleHttp/7 (php/7.4.20)`

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 92.3% 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 ~0 days

Total

3

Last Release

1825d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6eba577de31a137d1abc7701a1c3cf16038d12ea79a3172c0821f92609b34841?d=identicon)[emerging](/maintainers/emerging)

---

Top Contributors

[![biozz](https://avatars.githubusercontent.com/u/3424811?v=4)](https://github.com/biozz "biozz (12 commits)")[![andrewixz](https://avatars.githubusercontent.com/u/8808007?v=4)](https://github.com/andrewixz "andrewixz (1 commits)")

---

Tags

guzzlephpphp7sdk

### Embed Badge

![Health badge](/badges/emerging-travel-papi-sdk-php/health.svg)

```
[![Health](https://phpackages.com/badges/emerging-travel-papi-sdk-php/health.svg)](https://phpackages.com/packages/emerging-travel-papi-sdk-php)
```

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.2k532.1M2.5k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k496.1k33](/packages/neuron-core-neuron-ai)[illuminate/http

The Illuminate Http package.

11937.2M6.5k](/packages/illuminate-http)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.2M46](/packages/tencentcloud-tencentcloud-sdk-php)[dreamfactory/df-core

DreamFactory(tm) Core Components

1652.0k38](/packages/dreamfactory-df-core)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

252.5k](/packages/eslazarev-wildberries-sdk)

PHPackages © 2026

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