PHPackages                             baikho/belgian-address-parser-php - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. baikho/belgian-address-parser-php

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

baikho/belgian-address-parser-php
=================================

A Belgian address parser library in PHP

v2.0.0(1mo ago)11.6kMITPHPPHP ^8.2CI passing

Since Mar 24Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/baikho/belgian-address-parser-php)[ Packagist](https://packagist.org/packages/baikho/belgian-address-parser-php)[ RSS](/packages/baikho-belgian-address-parser-php/feed)WikiDiscussions 2.x Synced 1mo ago

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

Belgian Address Parser PHP
==========================

[](#belgian-address-parser-php)

[![Latest Version on Packagist](https://camo.githubusercontent.com/94dedb4d2b19b3ba088397cdde7fa666357bbb6bc913953e780c1d73ad063dbc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6261696b686f2f62656c6769616e2d616464726573732d7061727365722d7068702e737667)](https://packagist.org/packages/baikho/belgian-address-parser-php)[![Total Downloads](https://camo.githubusercontent.com/724e32738bdfd23730e643fa8c83012b6be85a04cea880996af112133c208ce3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6261696b686f2f62656c6769616e2d616464726573732d7061727365722d7068702e737667)](https://packagist.org/packages/baikho/belgian-address-parser-php)[![MIT Licensed](https://camo.githubusercontent.com/074b89bca64d3edc93a1db6c7e3b1636b874540ba91d66367c0e5e354c56d0ea/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e737667)](LICENSE)[![GitHub issues](https://camo.githubusercontent.com/59beaae0f6ac84f34ffdcb8847e8f555264c3beadcf12d1b0efc72bf84a811b6/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f6261696b686f2f62656c6769616e2d616464726573732d7061727365722d7068702e737667)](https://github.com/baikho/belgian-address-parser-php/issues)[![GitHub stars](https://camo.githubusercontent.com/eb5690332a2dc1f3635b49e22fcf5830b3b8a0387d85316d2f7ef1e1f035066c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f6261696b686f2f62656c6769616e2d616464726573732d7061727365722d7068702e737667)](https://github.com/baikho/belgian-address-parser-php/stargazers)

A Belgian address parser library in PHP.

Requirements
------------

[](#requirements)

- PHP 8.2 or higher

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require baikho/belgian-address-parser-php
```

Usage
-----

[](#usage)

```
// Create a parser instance
$parser = new \Baikho\BelgianAddressParser\Parser();

// Parse an address
$parsed = $parser->parse('Andreas Vesaliusstraat 47, 3000 Leuven, België');

// Output the parsed components
print_r($parsed);
Array
(
    [recipient] =>
    [street] => Andreas Vesaliusstraat
    [number] => 47
    [box] =>
    [postal_code] => 3000
    [city] => Leuven
    [country] => België
)

// Validate the address
$validation = $parser->validate($parsed);
if ($validation['valid']) {
    echo "Address is valid!\n";
} else {
    echo "Address has issues: " . implode(', ', $validation['errors']) . "\n";
}

// Format the address back to string
$formatted = $parser->format($parsed);
echo $formatted;
```

###  Health Score

46

—

FairBetter than 93% of packages

Maintenance90

Actively maintained with recent releases

Popularity20

Limited adoption so far

Community7

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

Every ~74 days

Recently: every ~93 days

Total

6

Last Release

49d ago

Major Versions

1.x-dev → 2.x-dev2026-03-30

PHP version history (2 changes)v1.0.0PHP &gt;=8.1

2.x-devPHP ^8.2

### Community

Maintainers

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

---

Top Contributors

[![baikho](https://avatars.githubusercontent.com/u/4610533?v=4)](https://github.com/baikho "baikho (15 commits)")

---

Tags

addressaddress-parseraddressesbelgiumparserphpphp-libraryphp8

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/baikho-belgian-address-parser-php/health.svg)

```
[![Health](https://phpackages.com/badges/baikho-belgian-address-parser-php/health.svg)](https://phpackages.com/packages/baikho-belgian-address-parser-php)
```

###  Alternatives

[masterminds/html5

An HTML5 parser and serializer.

1.8k242.8M229](/packages/masterminds-html5)[sabberworm/php-css-parser

Parser for CSS Files written in PHP

1.8k191.2M65](/packages/sabberworm-php-css-parser)[jms/metadata

Class/method/property metadata management in PHP

1.8k152.8M88](/packages/jms-metadata)[jms/serializer-bundle

Allows you to easily serialize, and deserialize data of any complexity

1.8k89.3M627](/packages/jms-serializer-bundle)[hassankhan/config

Lightweight configuration file loader that supports PHP, INI, XML, JSON, and YAML files

97513.5M170](/packages/hassankhan-config)[meyfa/php-svg

Read, edit, write, and render SVG files with PHP

54613.9M42](/packages/meyfa-php-svg)

PHPackages © 2026

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