PHPackages                             bureaupartners/extract-address-from-text - 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. bureaupartners/extract-address-from-text

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

bureaupartners/extract-address-from-text
========================================

With this package you can extract the address from a unformatted text string

v1.7.0(5mo ago)45.1k↑2312.5%MITPHPPHP ^7.2 | ^8.0CI failing

Since Oct 24Pushed 5mo ago1 watchersCompare

[ Source](https://github.com/bureaupartners/extract-address-from-text)[ Packagist](https://packagist.org/packages/bureaupartners/extract-address-from-text)[ Docs](https://github.com/bureaupartners/extract-address-from-text)[ Patreon](https://www.patreon.com/bureaupartners)[ RSS](/packages/bureaupartners-extract-address-from-text/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (2)Versions (19)Used By (0)

Extract address from text
=========================

[](#extract-address-from-text)

With this package you can extract the address from a unformatted text string

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

[](#installation)

Install composer packages

```
composer require bureaupartners/extract-address-from-text
```

Usage
-----

[](#usage)

```
use BureauPartners\ExtractAddressFromText\AddressExtractor;

$extractor = new AddressExtractor($address['text']);

$extractor->getAddress(); // Get all information

$extractor->getRecipient();
$extractor->getStreet();
$extractor->getHouseNumber();
$extractor->getHouseNumberAddition();
$extractor->getPostalCode();
$extractor->getCity();
$extractor->getCountry()['code'];
```

Contributing
------------

[](#contributing)

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License
-------

[](#license)

See LICENSE.md

###  Health Score

48

—

FairBetter than 95% of packages

Maintenance73

Regular maintenance activity

Popularity27

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity68

Established project with proven stability

 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 ~110 days

Total

18

Last Release

152d ago

Major Versions

v0.1.0 → v1.0.02021-03-10

PHP version history (2 changes)v0.1.0PHP ^7.2

v1.2.0PHP ^7.2 | ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/67b74c6f8cf3c9512fc139dd35ffa036a923ec9d42bcde167951877ee3c7ff33?d=identicon)[markhameetman](/maintainers/markhameetman)

---

Top Contributors

[![markhameetman](https://avatars.githubusercontent.com/u/364344?v=4)](https://github.com/markhameetman "markhameetman (22 commits)")

---

Tags

addressextractbureaupartners

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/bureaupartners-extract-address-from-text/health.svg)

```
[![Health](https://phpackages.com/badges/bureaupartners-extract-address-from-text/health.svg)](https://phpackages.com/packages/bureaupartners-extract-address-from-text)
```

###  Alternatives

[flow-php/etl

PHP ETL - Extract Transform Load - Abstraction

374468.4k51](/packages/flow-php-etl)[nojimage/twitter-text-php

A library of PHP classes that provide auto-linking and extraction of usernames, lists, hashtags and URLs from tweets.

1241.9M7](/packages/nojimage-twitter-text-php)[markrogoyski/ipv4-subnet-calculator

Network calculator for subnet mask and other classless (CIDR) network information.

177813.7k6](/packages/markrogoyski-ipv4-subnet-calculator)[samdark/hydrator

Allows to extract data from an object or create a new object based on data for the purpose of persisting state. Works with private and protected properties.

11476.9k](/packages/samdark-hydrator)[sylius/addressing-bundle

Addressing and zone management for Symfony applications.

33221.4k3](/packages/sylius-addressing-bundle)[tapp/filament-google-autocomplete-field

Filament plugin that provides a Google Autocomplete field

3098.1k](/packages/tapp-filament-google-autocomplete-field)

PHPackages © 2026

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