PHPackages                             weha/bpost-addresses - 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. weha/bpost-addresses

ActiveLibrary

weha/bpost-addresses
====================

A php class for Bpost addresses validation API

0.1.9(2y ago)08MITPHP

Since Mar 24Pushed 2y agoCompare

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

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

bpost-addresses
===============

[](#bpost-addresses)

A php class for Bpost addresses validation API

*bpost* ([Belgian Post Group](https://www.bpost.be/)) provides an API to validate belgian address : .

The goal of this tool is to help querying the *bpost* API easily with PHP.

Install
-------

[](#install)

The tool only requires **PHP 7.0+** and **guzzlehttp/guzzle**.

Use it via composer + packagist:

Usage
-----

[](#usage)

```
$bpost = new Bpost_Address_Validation();

// Find relevant address according to input
/* Option 1: Structured */
$bpost->getAddress_Structured("Rue de la loix", "15", null, 1000, "Bruxelles");
/* Option 2: Unstructured */
$bpost->getAddress_Unstructured("rue de la loi 15, 1000 bruxelles");

// get array with validated address
$result = $bpost->getStructuredAddress();
print_r($result);
/*
Array
(
    [StreetName] => Rue De La Loi
    [StreetNumber] => 15
    [BoxNumber] =>
    [PostalCode] => 1040
    [MunicipalityName] => Bruxelles
    [CountryName] => Belgique
)
*/

// get array with latitude/longitude
$result = $bpost->getGeographicalLocation();
print_r($result);
/*
Array
(
    [lat] => 50.845465
    [lon] => 4.369107
)
*/
```

Credits
-------

[](#credits)

- Created by Bruno Veyckemans ([ici Bruxelles](https://ici.brussels/)). All comments and suggestions welcome !
- Inspired by ([geo6/bpost-batch-validation](https://github.com/geo6/bpost-batch-validation))
- Thanks to Xavier Querriau @ bpost for the API

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 Bus Factor1

Top contributor holds 89.7% 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 ~390 days

Total

2

Last Release

753d ago

### Community

Maintainers

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

---

Top Contributors

[![ici-be](https://avatars.githubusercontent.com/u/8818360?v=4)](https://github.com/ici-be "ici-be (26 commits)")[![weha](https://avatars.githubusercontent.com/u/5836955?v=4)](https://github.com/weha "weha (3 commits)")

### Embed Badge

![Health badge](/badges/weha-bpost-addresses/health.svg)

```
[![Health](https://phpackages.com/badges/weha-bpost-addresses/health.svg)](https://phpackages.com/packages/weha-bpost-addresses)
```

###  Alternatives

[neuron-core/neuron-ai

The PHP Agentic Framework.

1.8k245.3k20](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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