PHPackages                             oceanapplications/postmen - 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. oceanapplications/postmen

ActiveLibrary[API Development](/categories/api)

oceanapplications/postmen
=========================

API Wrapper for postmen.com

0.2.1(9y ago)3360GPL-3.0+PHP

Since Aug 27Pushed 9y ago1 watchersCompare

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

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

Postmen
=======

[](#postmen)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/42f1da50cfd9607217eb3cbf08a2a5e8910dd7df7faa75359df53e94a9238d8c/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6f6365616e6170706c69636174696f6e732f706f73746d656e2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/oceanapplications/postmen/)

API wrapper for

\###Install with composer

`composer require oceanapplications/postmen`

\###Create label

```
//create item
$item = new Item();
$item->description('description')->quantity(1)->price(new Money(100, 'INR'))->weight(new Weight(1,'lb'));

//create parcel
$parcel = new Parcel();
$parcel->box_type('custom')->dimension(new Dimension(4,4,4,"cm"))->items($item)->description('descr')->weight(new Weight(2, 'lb'));

//create from address
$fromAddress = new Address();
$fromAddress->city('New Delhi')->company_name('company India')->country('IND')->contact_name('Name')->street1('street1')
    ->postal_code('110045')->state('Delhi')->phone('9654444444');

//create send address
$toAddress = new Address();
$toAddress->city('New Delhi')->company_name('company India')->country('IND')->contact_name('Name')->street1('street1')
    ->postal_code('110045')->state('Delhi')->phone('9654444444');

//create shipment and assign addresses and parcel
$shipment = new Shipment();
$shipment->ship_from($fromAddress);
$shipment->ship_to($toAddress);
$shipment->parcels(array($parcel));

//create label and assign shipment
$label = new Label();
$label->service_type('bluedart_surface')->shipper_account('shipper id from postmen')
    ->shipment($shipment)->invoice(new Invoice())->COD(new Money(100, 'INR'));

//finally create client and send request
$client = new Client('postmen api_key');
$response = $client->createLabel($label);
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

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.

###  Release Activity

Cadence

Every ~9 days

Total

3

Last Release

3524d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/58f943d2f265e822ed311a9c234d1121190cf61c411b57cd49c61410d00c8330?d=identicon)[oceanapplications](/maintainers/oceanapplications)

---

Top Contributors

[![oceanapplications](https://avatars.githubusercontent.com/u/2704923?v=4)](https://github.com/oceanapplications "oceanapplications (25 commits)")

---

Tags

apishippingpostmen

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/oceanapplications-postmen/health.svg)

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

###  Alternatives

[gabrielbull/ups-api

PHP UPS API

4642.4M10](/packages/gabrielbull-ups-api)[easypost/easypost-php

EasyPost Shipping API Client Library for PHP

1753.1M5](/packages/easypost-easypost-php)[shipengine/shipengine

PHP library for the ShipEngine API.

172.4k](/packages/shipengine-shipengine)[michaelb/ship-station

A php wrapper for ship station's api

101.9k](/packages/michaelb-ship-station)

PHPackages © 2026

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