Download the PHP package anper/russian-id-laravel without Composer
On this page you can find all versions of the php package anper/russian-id-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download anper/russian-id-laravel
More information about anper/russian-id-laravel
Files in anper/russian-id-laravel
Package russian-id-laravel
Short Description A set of useful Laravel validation rules for identifiers of Russian individuals and legal entities
License MIT
Homepage https://github.com/perevoshchikov/russian-id-laravel
Informations about the package russian-id-laravel
Anper\RussianId\Laravel
A set of useful Laravel validation rules for identifiers of Russian individuals and legal entities.
Install
The package will automatically register itself.
Translations
If you wish to edit the package translations, you can run the following command to publish them into your resources/lang
folder
Available rules
- Anper\RussianId\Laravel\Rules\BikRule
- Anper\RussianId\Laravel\Rules\InnRule
- Anper\RussianId\Laravel\Rules\KppRule
- Anper\RussianId\Laravel\Rules\KsRule
- Anper\RussianId\Laravel\Rules\LegalInnRule
- Anper\RussianId\Laravel\Rules\OgrnipRule
- Anper\RussianId\Laravel\Rules\OgrnOrOgrnipRule
- Anper\RussianId\Laravel\Rules\OgrnRule
- Anper\RussianId\Laravel\Rules\OmsRule
- Anper\RussianId\Laravel\Rules\PersonInnRule
- Anper\RussianId\Laravel\Rules\RsRule
- Anper\RussianId\Laravel\Rules\SnilsRule
The KsRule
and RsRule
require the BIK
attribute in the validated data. You must provide the attribute name in them constructors.
Tests
Unit testing
The package is tested with PHPUnit. To run tests:
Static analysis
The code is statically analyzed with PHPStan. To run static analysis:
License
The MIT License (MIT). Please see License File for more information.
All versions of russian-id-laravel with dependencies
anper/russian-id Version ^2.1
illuminate/contracts Version ^8.0|^9.0
illuminate/support Version ^8.0|^9.0