PHPackages                             paral\_proj/fiscal-code - 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. paral\_proj/fiscal-code

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

paral\_proj/fiscal-code
=======================

Fiscal code calculator

06PHP

Since Feb 9Pushed 8y agoCompare

[ Source](https://github.com/LCTOP/fiscal_code)[ Packagist](https://packagist.org/packages/paral_proj/fiscal-code)[ RSS](/packages/paral-proj-fiscal-code/feed)WikiDiscussions master Synced today

READMEChangelog (1)DependenciesVersions (6)Used By (0)

Fiscal Code
===========

[](#fiscal-code)

###### v 1.0.0

[](#v-100)

This module calculate the fiscal code of a person by information.

HOW USE IT
==========

[](#how-use-it)

For use it you can instance it or call statically. FiscalCalculator is the class for calc the fiscal code by data user. CheckerFiscalCode is for verify the fiscal code assert by a user using user's data.

Example
=======

[](#example)

For calculate the fiscal code of a person:

```
$fiscalCode = FiscalCalculator::calculate(
    $user["name"],
    $user["surname"],
    new \DateTime($user["birthday"]),
    $user["sex"],
    $user["common"],
    $user["country"]
);
```

For calculate single piece of fiscal code you can use "minor" methods like:

```
 - getConsonant [For get the consonant or vowel in a name or surname @see the signature]
 - getGlobalCommon [For get the common code of an user]
 - getFromBirthDay [For get the day of the birth correctly formatted]
 - checkLastLetterFiscalCode [For validate a fiscal code (without last char) - This calc last char]

 etc...

 @see class FiscalCalculator

```

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

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/802e0a6db2648f02dda2eb3541beb12333a85956fcdd0a7c9220bbc4342419ee?d=identicon)[Lorenzo Calamandrei](/maintainers/Lorenzo%20Calamandrei)

### Embed Badge

![Health badge](/badges/paral-proj-fiscal-code/health.svg)

```
[![Health](https://phpackages.com/badges/paral-proj-fiscal-code/health.svg)](https://phpackages.com/packages/paral-proj-fiscal-code)
```

###  Alternatives

[erlandmuchasaj/laravel-gzip

Gzip your responses.

40140.4k2](/packages/erlandmuchasaj-laravel-gzip)

PHPackages © 2026

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