PHPackages                             padam87/address-bundle - 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. padam87/address-bundle

ActiveSymfony-bundle

padam87/address-bundle
======================

Symfony2 AddressBundle

v2.0.0(9y ago)1013.2k6[2 issues](https://github.com/Padam87/AddressBundle/issues)MITPHPPHP ~5.5|~7.0

Since Dec 19Pushed 9y ago1 watchersCompare

[ Source](https://github.com/Padam87/AddressBundle)[ Packagist](https://packagist.org/packages/padam87/address-bundle)[ Docs](https://github.com/Padam87/AddressBundle)[ RSS](/packages/padam87-address-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (5)Versions (13)Used By (0)

[![Build Status](https://camo.githubusercontent.com/2757da0df9119818834aa80b55989e1012958c04e1680f44ddba94bf3fce53f4/68747470733a2f2f7472617669732d63692e6f72672f506164616d38372f4164647265737342756e646c652e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/Padam87/AddressBundle)[![Coverage Status](https://camo.githubusercontent.com/4d19de5d5bc1512f0d40993beddf1321439bbd776cc5e31dd084a77b85fc113c/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f506164616d38372f4164647265737342756e646c652f62616467652e706e67)](https://coveralls.io/r/Padam87/AddressBundle)[![Scrutinizer Quality Score](https://camo.githubusercontent.com/0942fa540212e14954dc81de6ebda8854386ae37d12ede494ec597c3dfcb65fe/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f506164616d38372f4164647265737342756e646c652f6261646765732f7175616c6974792d73636f72652e706e673f733d30623566666263343435326166323732383762386438613364643230643636366261626531366433)](https://scrutinizer-ci.com/g/Padam87/AddressBundle/)[![SensioLabsInsight](https://camo.githubusercontent.com/dce220ea8d9a6e67500ae901b578b6f7d4f339236781af09f6936c969e36b53b/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f62333630643836632d373039352d346535372d386634652d6536323661316235306463312f6d696e692e706e67)](https://insight.sensiolabs.com/projects/b360d86c-7095-4e57-8f4e-e626a1b50dc1)[![Latest Stable Version](https://camo.githubusercontent.com/49fcc8a594fb75be2e4b2d17b16d7c96a23869018a794b511507cd8dd2efa205/68747470733a2f2f706f7365722e707567782e6f72672f706164616d38372f616464726573732d62756e646c652f762f737461626c652e706e67)](https://packagist.org/packages/padam87/address-bundle)[![Total Downloads](https://camo.githubusercontent.com/7846e94b60ae87a3830c4f6d0ace9b18a89e9215a28c6f22c561746207dfc736/68747470733a2f2f706f7365722e707567782e6f72672f706164616d38372f616464726573732d62756e646c652f646f776e6c6f6164732e706e67)](https://packagist.org/packages/padam87/address-bundle)[![Latest Unstable Version](https://camo.githubusercontent.com/a8f550008a77ee6464da3ab7fcca5db59e4d8c177262ef905cefa97530316289/68747470733a2f2f706f7365722e707567782e6f72672f706164616d38372f616464726573732d62756e646c652f762f756e737461626c652e706e67)](https://packagist.org/packages/padam87/address-bundle)[![License](https://camo.githubusercontent.com/621e89536277df627f16f92b896ed1eaceb1f716af48f30df58dc8b52cda1c06/68747470733a2f2f706f7365722e707567782e6f72672f706164616d38372f616464726573732d62756e646c652f6c6963656e73652e706e67)](https://packagist.org/packages/padam87/address-bundle)

1, Installation
===============

[](#1-installation)

1.1 Composer
------------

[](#11-composer)

`composer require padam87/address-bundle`

1.2 AppKernel
-------------

[](#12-appkernel)

```
// app/AppKernel.php
public function registerBundles()
{
    return array(
        // ...
        new Padam87\AddressBundle\Padam87AddressBundle(),
    );
}
```

2, Usage
========

[](#2-usage)

Use the [traits](Entity/Traits) and [embeddables](Entity/Embeddables) with your schema.

2.1 Formatter
-------------

[](#21-formatter)

```
$formatted = $this->get("padam87.address.formatter")->format($address);
```

### Flags

[](#flags)

```
use Padam87\AddressBundle\Service\FormatterService;

//...

$formatted = $this->get("padam87.address.formatter")->format($address, FormatterService::FLAG_NOBR);
```

### Available flags

[](#available-flags)

- `FLAG_NOBR` No linebreak will be added
- `FLAG_HTML` Outputs the address in html format

### Extend / override templates

[](#extend--override-templates)

You can override or extend the language-specific formats. Just create the appropriate template under `app\Resources\Padam87AddressBundle\views`

**example**: `app\Resources\Padam87AddressBundle\views\US.twig`**contributing**: Create a PR with your own country's format :)

2.2 Twig extension
------------------

[](#22-twig-extension)

```
{{ address|address()|raw }}
```

This will output the formatted address, with the `FLAG_HTML` added by default

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance16

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 98.5% 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 ~96 days

Recently: every ~205 days

Total

12

Last Release

3463d ago

Major Versions

v1.x-dev → v2.0.02016-11-14

PHP version history (2 changes)v1.1.0PHP ~5.4

v2.0.0PHP ~5.5|~7.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/16ee53cf1050ad8f7ac884365abee80ded7fc531a57cadbdaef303de59e69222?d=identicon)[Padam87](/maintainers/Padam87)

---

Top Contributors

[![Padam87](https://avatars.githubusercontent.com/u/776488?v=4)](https://github.com/Padam87 "Padam87 (67 commits)")[![bitdeli-chef](https://avatars.githubusercontent.com/u/3092978?v=4)](https://github.com/bitdeli-chef "bitdeli-chef (1 commits)")

---

Tags

symfonyaddressgeocode

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/padam87-address-bundle/health.svg)

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

###  Alternatives

[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[kilik/table

Symfony Ajax Datagrid Bundle for doctrine entities

3361.4k](/packages/kilik-table)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1022.4k](/packages/rcsofttech-audit-trail-bundle)[ahmed-bhs/doctrine-doctor

Runtime analysis tool for Doctrine ORM integrated into Symfony Web Profiler. Unlike static linters, it analyzes actual query execution at runtime to detect performance bottlenecks, security vulnerabilities, and best practice violations during development with real execution context and data.

813.1k](/packages/ahmed-bhs-doctrine-doctor)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1714.8k8](/packages/2lenet-crudit-bundle)

PHPackages © 2026

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