garciasdos / spanish-national-identifier
There is no license information available for the latest version (v1.0) of this package.
Generate a Spanish National Identifier
v1.0
2020-03-08 22:27 UTC
Requires
- php: ^7.4
Requires (Dev)
- phpunit/phpunit: ^9.0
This package is auto-updated.
Last update: 2024-10-17 18:58:05 UTC
README
Implementation for SNI (aka DNI) VO.
Usage
Example: Generate new SNI
use SNI\Domain\SNI; ... $sni = SNI::fromString('84253610X');
Requirements
PHP in 7.4 or higher version.
Installation
Via GitHub
$ git clone git@github.com:garciasdos/spanish-national-identifier.git
Via Composer
Package hosted in Packagist.
Require the latest version of garciasdos/spanish-national-identifier
with Composer
$ composer require garciasdos/spanish-national-identifier