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 yesterday

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

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity30

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

[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)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

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

PHP wrapper for the Meilisearch API

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

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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