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:
codicefiscale, the core cratelaravel-codicefiscale, the Laravel for Rust adapter
Go, repo laravel-codicefiscale-go:
github.com/robertogallea/laravel-codicefiscale-go/codicefiscale, the core modulegithub.com/robertogallea/laravel-codicefiscale-go, the Laravel for Go adapter
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.