PHPackages                             aotearoait/nzpost-search - 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. aotearoait/nzpost-search

ActiveLibrary[API Development](/categories/api)

aotearoait/nzpost-search
========================

A PHP wrapper for NZ Post API

06PHP

Since Feb 24Pushed 5y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)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

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity31

Early-stage or recently created project

 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/cb51b0ee61ea30b25d365d02b68d32d697dac0238d1c0e0bf788f80b2d25cabe?d=identicon)[aotearoait](/maintainers/aotearoait)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/aotearoait-nzpost-search/health.svg)

```
[![Health](https://phpackages.com/badges/aotearoait-nzpost-search/health.svg)](https://phpackages.com/packages/aotearoait-nzpost-search)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

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

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k13](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

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

PHPackages © 2026

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