disitec/laravel-dni-validator

Spanish DNI / NIF / CIF validator for Laravel

Fund package maintenance!
beliolfa

1.0.1 2018-10-19 07:36 UTC

This package is not auto-updated.

Last update: 2024-11-24 07:25:14 UTC


README

Installation

You can install the package via composer:

composer require disitec/laravel-dni-validator

In Laravel 5.5 the service provider will automatically get registered. In older versions of the framework just add the service provider in config/app.php file:

'providers' => [
    // ...
    Disitec\DniValidator\DniValidatorServiceProvider::class,
];