PHPackages                             perigiweb/biteship - 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. perigiweb/biteship

ActiveLibrary[API Development](/categories/api)

perigiweb/biteship
==================

Biteship PHP Client

1.0.3(2y ago)254MITPHPPHP ^8.0

Since Nov 3Pushed 2y ago1 watchersCompare

[ Source](https://github.com/perigiweb/biteship)[ Packagist](https://packagist.org/packages/perigiweb/biteship)[ RSS](/packages/perigiweb-biteship/feed)WikiDiscussions main Synced 3w ago

READMEChangelogDependencies (1)Versions (4)Used By (0)

Unofficial PHP Client for Biteship API
======================================

[](#unofficial-php-client-for-biteship-api)

This library is unofficial PHP client for accessing [Biteship](https://biteship.com) API

```
composer require perigiweb/biteship
```

How To Use
----------

[](#how-to-use)

```
use Perigi\Biteship\Client;

$biteshipApiKey = '';
$client = new Client($biteshipApiKey);
```

Supported Method
----------------

[](#supported-method)

### Get Available Couriers

[](#get-available-couriers)

```
$availableCouriers = $client->getCouriers();
```

### Search Area

[](#search-area)

```
// single search https://biteship.com/id/docs/api/maps/retrieve_area_single
$areas = $client->searchArea($districtName);

// double search https://biteship.com/id/docs/api/maps/retrieve_area_double
$areas = $client->searchArea($districtName, 'double');

// areaId from double search result
$areas = $client->searchAreaById($areaId);
```

### Get Shipping Rates

[](#get-shipping-rates)

```
$origin = 'IDN...'; // area_id
$destination = 'IDN....'; // area_id
$couriers = 'jne,jnt,sicepat,anteraja';
$items = [$item];

// origin and destination can be an array of postal code
$origin = [
  'origin_postal_code' => 11122
];
$destination = [
  'destination_postal_code' => 53461
];

// or combination of latitude and longitude
$origin = [
  'origin_latitude' => 5.8474647464,
  'origin_longitude' => 7.57575757
];
$destination = [
  'destination_latitude' => 3.8474647464,
  'destination_longitude' => 5.57575757
];

$rates = $client->getRates($origin, $destination, $couriers, $items);
```

### Tracking

[](#tracking)

```
// tracking by order id
$tracking = $client->tracking($biteshipOrderId);

// or tracking by waybill and courier code
$tracking = $client->publicTracking($waybillId, $courierCode);
```

### Order

[](#order)

Create, retrive, update and delete order not supported yet

More info on [Biteship API Docs](https://biteship.com/id/docs/intro)

###  Health Score

25

—

LowBetter than 36% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 54.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 ~1 days

Total

3

Last Release

962d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/149746705?v=4)[Perigi Web](/maintainers/perigiweb)[@perigiweb](https://github.com/perigiweb)

---

Top Contributors

[![perigiweb](https://avatars.githubusercontent.com/u/149746705?v=4)](https://github.com/perigiweb "perigiweb (6 commits)")[![almuth](https://avatars.githubusercontent.com/u/105537?v=4)](https://github.com/almuth "almuth (5 commits)")

---

Tags

biteshipbiteship-apibiteship-php

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/perigiweb-biteship/health.svg)

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93452.6k6](/packages/botman-driver-telegram)

PHPackages © 2026

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