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

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

metarete/comuni-bundle
======================

Symfony Bundle to load and use the updated list of Italian municipalities, CAP, and ISTAT codes.

1.0.9(1mo ago)2271MITPHPPHP &gt;=8.1

Since Mar 13Pushed 1mo ago4 watchersCompare

[ Source](https://github.com/metarete/MetareteComuniBundle)[ Packagist](https://packagist.org/packages/metarete/comuni-bundle)[ RSS](/packages/metarete-comuni-bundle/feed)WikiDiscussions main Synced today

READMEChangelog (5)Dependencies (24)Versions (11)Used By (0)

ComuniBundle
============

[](#comunibundle)

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

[](#installation)

### Step 1: Download the Bundle

[](#step-1-download-the-bundle)

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

```
$ composer require metarete/comuni-bundle
```

### Step 2: Enable the Bundle

[](#step-2-enable-the-bundle)

Then, enable the bundle by adding it to the list of registered bundles in the `config/bundles.php` file of your project:

```
// config/bundles.php

return [
    // ...
    Metarete\ComuniBundle\ComuniBundle::class => ['all' => true],
];
```

Load database
-------------

[](#load-database)

Go to Garda Informatica website and download archive from ; unzip in your path.

Open a command console, enter your project directory and execute the following command to load the archive:

```
$ bin/console metarete:comuni:load //gi_comuni_cap.json
```

Use Service
-----------

[](#use-service)

You can call the provided `ComuniService` to:

- get a list of distinct province abbreviations (this-&gt;comuniService-&gt;getProvinceList())
- get a list of unique CAP (postal codes) from a given comune ($this-&gt;comuniService-&gt;getCAPListFromComune('Torino'))
- get a list of unique CAP (postal codes) from a given province ($this-&gt;comuniService-&gt;getCAPListFromProvincia('MI'))

Link
----

[](#link)

[Garda Informatica](https://www.gardainformatica.it/)

Credits
-------

[](#credits)

[Metarete s.r.l.](https://metarete.it)

###  Health Score

44

—

FairBetter than 90% of packages

Maintenance92

Actively maintained with recent releases

Popularity11

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 52.4% 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 ~48 days

Recently: every ~88 days

Total

10

Last Release

39d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ad2a40c6a6948783ec777b9abc0303de7cd7a8a314dacf5190f6188da3867cb9?d=identicon)[tecnico@metarete.it](/maintainers/tecnico@metarete.it)

---

Top Contributors

[![Redeadly](https://avatars.githubusercontent.com/u/10615143?v=4)](https://github.com/Redeadly "Redeadly (11 commits)")[![carlotodeschini](https://avatars.githubusercontent.com/u/4517111?v=4)](https://github.com/carlotodeschini "carlotodeschini (7 commits)")[![DavideZMetarete](https://avatars.githubusercontent.com/u/39273315?v=4)](https://github.com/DavideZMetarete "DavideZMetarete (2 commits)")[![metarete](https://avatars.githubusercontent.com/u/121028432?v=4)](https://github.com/metarete "metarete (1 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/metarete-comuni-bundle/health.svg)

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

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.9M386](/packages/easycorp-easyadmin-bundle)[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.

1189.8k](/packages/rcsofttech-audit-trail-bundle)[kimai/kimai

Kimai - Time Tracking

4.8k9.0k1](/packages/kimai-kimai)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.9M738](/packages/sylius-sylius)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1616.4k14](/packages/2lenet-crudit-bundle)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

9421.6k61](/packages/open-dxp-opendxp)

PHPackages © 2026

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