PHPackages                             lordvol/despatchbaypro\_api - 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. lordvol/despatchbaypro\_api

ActiveLibrary[API Development](/categories/api)

lordvol/despatchbaypro\_api
===========================

Unnoficial dev branch of the DBPApiClient

216PHP

Since Jun 21Pushed 9y agoCompare

[ Source](https://github.com/LordVol/despatchbaypro_api)[ Packagist](https://packagist.org/packages/lordvol/despatchbaypro_api)[ RSS](/packages/lordvol-despatchbaypro-api/feed)WikiDiscussions dev Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

despatchbaypro\_api
===================

[](#despatchbaypro_api)

Despatch Bay Pro API Client

Provided as is.

Usage
-----

[](#usage)

```
$apiUser = 'your_api_user_string_here';
$apiKey  = 'your_api_key_here';

$dbpApiClient = new \DespatchBayProApi\DespatchBayProApiClient($apiUser,$apiKey);

// AddressingService

$dbpApiClient->addressingService->getDomesticAddressKeysByPostcode('S118RR');

$dbpApiClient->addressingService->getDomesticAddressByLookup('S118RR', 13);

$dbpApiClient->addressingService->getDomesticAddressByKey($key);

// ShippingService

$dbpApiClient->shippingService->getDomesticServicesByPostcode('S118RR');

$dbpApiClient->shippingService->getDomesticServices()

$dbpApiClient->shippingService->getShipment($shipmentID)

$domesticShipmentDetailsArray = [
    'ServiceID'             =>  $serviceID,
    'OrderReference'        =>  $orderReference,
    'Contents'              =>  $contents,
    'ParcelQuantity'        =>  count($parcels),
    'CompanyName'           =>  $companyName,
    'ReceiptName'           =>  $receiptName,
    'Street'                =>  $street,
    'Locality'              =>  $locality,
    'Town'                  =>  $town,
    'County'                =>  $county,
    'Postcode'              =>  $postcode,
    'RecipientEmail'        =>  $receipientEmail,
    'EmailNotification'     =>  (boolval($emailNotification))?1:0,
    'DashboardNotification' =>  (boolval($dashboardNotification))?1:0
];

$dbpApiClient->shippingService->addDomesticShipment($domesticShipmentDetailsArray);

// TrackingService

$dbpApiClient->trackingService->getTracking($trackingNumber);

// LabelsService

$labelSizes = $dbpApiClient->labelsService->getAvailableLabelSizes();

$dbpApiClient->labelsService->setLabelFormat(0);

// Warning: this function charges your account!
$dbpApiClient->labelsService->getLabels($shipmentID);
```

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

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

---

Top Contributors

[![jlaptechnologies](https://avatars.githubusercontent.com/u/6955005?v=4)](https://github.com/jlaptechnologies "jlaptechnologies (1 commits)")

### Embed Badge

![Health badge](/badges/lordvol-despatchbaypro-api/health.svg)

```
[![Health](https://phpackages.com/badges/lordvol-despatchbaypro-api/health.svg)](https://phpackages.com/packages/lordvol-despatchbaypro-api)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[facebook/php-business-sdk

PHP SDK for Facebook Business

90821.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

74513.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

265103.1M454](/packages/google-gax)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)

PHPackages © 2026

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