Vai al contenuto

Progetti

Attivi

Laravel Codice Fiscale

A PHP package for parsing, generating and validating the Italian codice fiscale (tax code). A framework-agnostic core of immutable value objects, plus a Laravel layer with a validation rule, an Eloquent cast, a Faker provider and an artisan command backed by Italian government data.

Laravel Codice Fiscale

Ports

The package has ports to Rust and Go, with the same split between a framework-agnostic core and a Laravel layer.

Rust, repo laravel-codicefiscale-rs:

Go, repo laravel-codicefiscale-go:

Each version has a live showcase that calculates, decodes and lists codici fiscali:

How the ports were made, and how they are kept at parity with PHP, is in Porting a Laravel package to Rust and Go: a retrospective.