PHPackages                             monstrum/address-normalizer - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. monstrum/address-normalizer

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

monstrum/address-normalizer
===========================

0206PHPCI failing

Since May 19Pushed 5y ago1 watchersCompare

[ Source](https://github.com/monstrum/address-normalizer)[ Packagist](https://packagist.org/packages/monstrum/address-normalizer)[ RSS](/packages/monstrum-address-normalizer/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

```
$address = new Address();
$address->streetAddress = "Hamburger strasse";
$address->houseNumber = "12-a";
$address->postalCode = 123456;
$address->addressLocality = "Hamburg";
$address->addressRegion = "Hamburg";
$address->addressCountry = "DE";

$normalizer = new AddressStreetNormalizer(De::class);
$normalizer->normalize($address);
```

Results:

```
$address->streetAddress = "Hamburger str";
$address->houseNumber = "12 a";
$address->postalCode = 123456;
$address->addressLocality = "Hämburg";
$address->addressRegion = "Hämburg";
$address->addressCountry = "DE";
```

Using custom Type:

```
# AtDe.php
class AtDe extends Base
{
    /**
     * @inheritDoc
     */
    const ACCENTS = [
        'ä' => 'ae',
        'Ä' => 'Ae',
        'ü' => 'ue',
        'Ü' => 'ue',
        'ö' => 'oe',
        'Ö' => 'oe',
        'ß' => 'ss',
    ];

    const REGEX = "/[^A-Za-z0-9 ]/";
}

$normalizer = new AddressStreetNormalizer(AtDe::class);
$address = $address;
$normalizer->normalize($address);
```

Results:

```
$address->streetAddress = "Hamburger strasse";
$address->houseNumber = "12-a";
$address->postalCode = 123456;
$address->addressLocality = "Haemburg";
$address->addressRegion = "Haemburg";
$address->addressCountry = "DE";
```

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity33

Early-stage or recently created project

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/39bc4ab046df5ca14cc418072f3bc35fe880fe17c8630ff3640b05caf281d5cb?d=identicon)[monstrum](/maintainers/monstrum)

### Embed Badge

![Health badge](/badges/monstrum-address-normalizer/health.svg)

```
[![Health](https://phpackages.com/badges/monstrum-address-normalizer/health.svg)](https://phpackages.com/packages/monstrum-address-normalizer)
```

###  Alternatives

[wwwision/dcb-eventstore

Implementation of the Dynamic Consistency Boundary pattern described by Sara Pellegrini

2131.5k10](/packages/wwwision-dcb-eventstore)

PHPackages © 2026

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