PHPackages                             saintsweeto/nz-post - 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. saintsweeto/nz-post

ActiveLibrary

saintsweeto/nz-post
===================

A PHP wrapper for NZ Post API

1.0.0(5y ago)261[1 issues](https://github.com/saintsweeto/nz-post/issues)MITPHP

Since Sep 7Pushed 5y ago1 watchersCompare

[ Source](https://github.com/saintsweeto/nz-post)[ Packagist](https://packagist.org/packages/saintsweeto/nz-post)[ RSS](/packages/saintsweeto-nz-post/feed)WikiDiscussions master Synced 4d ago

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

NZ Post
=======

[](#nz-post)

A PHP wrapper for NZ Post API

ParcelAddress API
-----------------

[](#parceladdress-api)

[API specification summary](https://anypoint.mulesoft.com/exchange/portals/nz-post-group/b8271f09-2ad8-4e1c-b6b1-322c5727d148/parceladdress-api/minor/1.0/console/summary/)

#### Initialization

[](#initialization)

```
$parcel = new ParcelAddress(CLIENT_ID, CLIENT_SECRET);

```

#### Search for address

[](#search-for-address)

Returns a list of suggested domestic addresses for an address fragment.

```
$parcel->searchForAddress(address, count);

```

#### Get address detail by address id

[](#get-address-detail-by-address-id)

Returns the detailed information for a single domestic address identifier.

```
$parcel->getAddressByAddressId(address_id');

```

#### Get address detail by dpid

[](#get-address-detail-by-dpid)

Returns the detailed information for a single dpid.

```
$parcel->getAddressByDpid(dpid);

```

#### Domestic suburbs suggestion

[](#domestic-suburbs-suggestion)

Returns a list of suggested domestic suburbs for a suburb fragment.

```
$parcel->searchForSuburbs(address, count);

```

#### Collection locations

[](#collection-locations)

Returns a list of parcel collection points nearest to the coordinates provided.

```
$parcel->getCollectionLocations(lat, long, count);

```

#### Search for international address

[](#search-for-international-address)

Returns a list of suggested addresses for a given country code and address fragment.

```
$parcel->searchForInternationalAddress(address, country_code, count);

```

#### Get international address detail

[](#get-international-address-detail)

Returns the detailed information for a single international address identifier.

```
$parcel->getInternationalAddress(address_id);

```

#### Australian address lookup

[](#australian-address-lookup)

This resource is intended to be used in conjunction with the Get International Address Detail resource.

```
$parcel->getAustralianAddress(address_id);

```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity54

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

Unknown

Total

1

Last Release

2075d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/23696052?v=4)[saintsweeto](/maintainers/saintsweeto)[@saintsweeto](https://github.com/saintsweeto)

---

Top Contributors

[![saintsweeto](https://avatars.githubusercontent.com/u/23696052?v=4)](https://github.com/saintsweeto "saintsweeto (6 commits)")

---

Tags

nz-postphp-wrappernz-postnz-post apinz-post php wrapper

### Embed Badge

![Health badge](/badges/saintsweeto-nz-post/health.svg)

```
[![Health](https://phpackages.com/badges/saintsweeto-nz-post/health.svg)](https://phpackages.com/packages/saintsweeto-nz-post)
```

###  Alternatives

[tempest/framework

The PHP framework that gets out of your way.

2.1k23.1k9](/packages/tempest-framework)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[concrete5/core

Concrete core subtree split

19159.3k48](/packages/concrete5-core)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

7310.3k29](/packages/open-dxp-opendxp)[simplesamlphp/simplesamlphp-module-oidc

A SimpleSAMLphp module adding support for the OpenID Connect protocol

5016.9k1](/packages/simplesamlphp-simplesamlphp-module-oidc)

PHPackages © 2026

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