PHPackages                             apiship/apiship-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. apiship/apiship-sdk-php

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

apiship/apiship-sdk-php
=======================

Integration (SDK) with Apiship API

1.3.8(8mo ago)1059.9k↓27.6%20[2 PRs](https://github.com/apiship/apiship-sdk-php/pulls)PHPPHP &gt;=7.2

Since Oct 9Pushed 8mo ago5 watchersCompare

[ Source](https://github.com/apiship/apiship-sdk-php)[ Packagist](https://packagist.org/packages/apiship/apiship-sdk-php)[ RSS](/packages/apiship-apiship-sdk-php/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (2)Versions (53)Used By (0)

ApiShip SDK
===========

[](#apiship-sdk)

### Тестовый и боевой режим

[](#тестовый-и-боевой-режим)

В адаптере (GuzzleAdapter) есть возможность переключения тестового и боевого окружений. Это осуществляется с помощью флага test (true - тестовое, false - боевое), который передается в конструктор GuzzleAdapter третьим параметром. По умолчанию значение флага test - true, т.е. тестовое окружение.

Тестовое окружение - все запросы идут на тестовый урл

Боевое окружение - все запросы идут на боевой урл

В адаптере (GuzzleAdapter) есть метод isTest, с помощью которого можно определить, какое окружение развернуто (тестовое или боевое).

### Получение X-Tracing-Id

[](#получение-x-tracing-id)

Для получения уникального идентификатора запроса к api используется метод **getLatestResponseHeaders** у адаптеров GuzzleAdapter и GuzzleTokenAdapter

```
$adapter = new GuzzleAdapter('test', 'test', true);
$apiship = new Apiship($adapter);
$providersResult = $apiship->lists()->getPoints();

$headers = $apiship->adapter->getLatestResponseHeaders();
$xTraingId = $headers['x-tracing-id'];
```

###  Health Score

52

—

FairBetter than 96% of packages

Maintenance62

Regular maintenance activity

Popularity40

Moderate usage in the ecosystem

Community23

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~63 days

Recently: every ~123 days

Total

47

Last Release

241d ago

PHP version history (2 changes)1.0.0PHP &gt;=5.5.0

1.2.0PHP &gt;=7.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/a23ca4f4520e25f8976277c430e7888d222e99b75e1d6913dd5112f2c4dee44a?d=identicon)[khalturinsky](/maintainers/khalturinsky)

---

Top Contributors

[![khalturinsky](https://avatars.githubusercontent.com/u/1274586?v=4)](https://github.com/khalturinsky "khalturinsky (53 commits)")[![Jaburenje](https://avatars.githubusercontent.com/u/18502761?v=4)](https://github.com/Jaburenje "Jaburenje (18 commits)")[![nikitaksv](https://avatars.githubusercontent.com/u/26574756?v=4)](https://github.com/nikitaksv "nikitaksv (17 commits)")[![vidmed](https://avatars.githubusercontent.com/u/6359139?v=4)](https://github.com/vidmed "vidmed (13 commits)")[![iDeaDe](https://avatars.githubusercontent.com/u/8094412?v=4)](https://github.com/iDeaDe "iDeaDe (8 commits)")[![ivanov-d-n](https://avatars.githubusercontent.com/u/32959673?v=4)](https://github.com/ivanov-d-n "ivanov-d-n (8 commits)")[![SergeR](https://avatars.githubusercontent.com/u/40233?v=4)](https://github.com/SergeR "SergeR (4 commits)")[![AldrLyko](https://avatars.githubusercontent.com/u/68063110?v=4)](https://github.com/AldrLyko "AldrLyko (3 commits)")[![Rival133](https://avatars.githubusercontent.com/u/41165663?v=4)](https://github.com/Rival133 "Rival133 (2 commits)")[![php-nik](https://avatars.githubusercontent.com/u/5755595?v=4)](https://github.com/php-nik "php-nik (1 commits)")[![Dunkon](https://avatars.githubusercontent.com/u/9192628?v=4)](https://github.com/Dunkon "Dunkon (1 commits)")[![stdex](https://avatars.githubusercontent.com/u/4608879?v=4)](https://github.com/stdex "stdex (1 commits)")[![egorrucoder](https://avatars.githubusercontent.com/u/29794186?v=4)](https://github.com/egorrucoder "egorrucoder (1 commits)")

---

Tags

apishipclientphp-sdksdkrestintegrationApiship

### Embed Badge

![Health badge](/badges/apiship-apiship-sdk-php/health.svg)

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

###  Alternatives

[xeroapi/xero-php-oauth2

Xero official PHP SDK for oAuth2 generated with OpenAPI spec 3

1054.3M14](/packages/xeroapi-xero-php-oauth2)[artesaos/laravel-linkedin

Linkedin API integration for Laravel and Lumen 5

5666.5k](/packages/artesaos-laravel-linkedin)[onesignal/onesignal-php-api

A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com

34170.2k2](/packages/onesignal-onesignal-php-api)[ory/hydra-client

Documentation for all of Ory Hydra's APIs.

17435.9k](/packages/ory-hydra-client)[zenditplatform/zendit-php-sdk

PHP client for Zendit API

1204.3k](/packages/zenditplatform-zendit-php-sdk)

PHPackages © 2026

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