PHPackages                             andreag/yii2-codicefiscale-validator - 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. andreag/yii2-codicefiscale-validator

ActiveYii2-extension

andreag/yii2-codicefiscale-validator
====================================

module-starter Module for Sharkom Intranet

030PHP

Since Feb 27Pushed 4y ago1 watchersCompare

[ Source](https://github.com/AndreaGvA/yii2-codicefiscale-validator)[ Packagist](https://packagist.org/packages/andreag/yii2-codicefiscale-validator)[ RSS](/packages/andreag-yii2-codicefiscale-validator/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

yii2-codicefiscale-validator
============================

[](#yii2-codicefiscale-validator)

---

Install the module on the main yii2 app

```
cd /path/to/yii2/instalation

composer require andreag/yii2-codicefiscale-validator

```

Load the module in yii2

Edit the file `backend/config/main.php`

add in the modules section:

```
'modules' => [
    'codicefiscale' => [
        'class' => 'andreag\codicefiscale\Module',
    ],
],

```

Import the db in sql/geografia.sql

Usage: In the rules of your model add:

```
['codice_fiscale', 'andreag\codicefiscale\CodiceFiscaleValidator', 'nome'=>'nome', 'cognome'=>"cognome", 'data'=>'data_nascita', "sesso"=>"sesso", 'comune'=>"luogo_nascita", 'provincia'=>"provincia_nascita"]

```

---

Based on the developments by Michele Brodoloni

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity26

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/43156ca9f650008724218bed1f57b18c58feee7b62fc418ad8655f695eb8e889?d=identicon)[andreagva](/maintainers/andreagva)

---

Top Contributors

[![AndreaGvA](https://avatars.githubusercontent.com/u/1787039?v=4)](https://github.com/AndreaGvA "AndreaGvA (1 commits)")

### Embed Badge

![Health badge](/badges/andreag-yii2-codicefiscale-validator/health.svg)

```
[![Health](https://phpackages.com/badges/andreag-yii2-codicefiscale-validator/health.svg)](https://phpackages.com/packages/andreag-yii2-codicefiscale-validator)
```

PHPackages © 2026

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