New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

avto-dev/extended-laravel-validator

Extended validation rules for Laravel applications
48,394 3
Install
composer require avto-dev/extended-laravel-validator
Latest Version:v6.1.0
PHP:^8.2
Laravel:11 · 12 · 13
Older releases:5 – 10
License:MIT
Last Updated:Oct 1, 2026
Links: GitHub  ·  Packagist
Maintainer: eldario

Laravel

Extensions for Laravel Validator

Version PHP Version Build Status Coverage Downloads count License

This package provides extended validation rules for Laravel validator.

Install

Require this package with composer using the following command:

$ composer require avto-dev/extended-laravel-validator "^6.0"

Installed composer is required (how to install composer).

You need to fix the major version of package.

After that you can "publish" configuration file (./config/extended-laravel-validator.php) using next command:

$ ./artisan vendor:publish --provider="AvtoDev\\ExtendedLaravelValidator\\ServiceProvider"

Usage

This package provides next validation rules:

Rule Description
vin_code Vehicle VIN-code
grz_code Vehicle GRZ-code
sts_code Vehicle Registration Certificate Number (STS)
pts_code Vehicle Passport Number (PTS)
body_code Vehicle body number
chassis_code Vehicle chassis number
driver_license_number Driving license number
cadastral_number Cadastral number (unique property number)
epts_code Vehicle Electronic Passport Number (EPTS)

Usage example:

<?php

/** @var \Illuminate\Contracts\Validation\Factory $validator */
$validator = resolve('validator');

$result = $validator->make([
    'value' => 'XWB3L32EDCA218918',
], [
    'value' => 'required|vin_code',
]);

$is_valid = $result->fails() === false;

Testing

For package testing we use phpunit framework and docker with compose plugin as develop environment. So, just write into your terminal after repository cloning:

$ make build
$ make latest # or 'make lowest'
$ make test

Changes log

Release date Commits since latest release

Changes log can be found here.

Support

Issues Issues

If you will find any package errors, please, make an issue in current repository.

License

This is open-sourced software licensed under the MIT License.

Related Packages

elie29/validator

A library for validating a context (POST, GET etc...) by running given rules.

10,988 1
dartui/polish-validators

Polish Validators for Laravel

1,574 4
gzero/validator

Gzero CMS Validator

957 1
korko/validator

A simple Laravel extension to add new Validator rules.

756 0
laravel-validators/foundation

An opinionated way to register custom validators in Laravel.

175 3

Version History

Version Released PHP Laravel License
v6.1.0 ^8.2 ~11.0 || ~12.0 || ~13.0 MIT
v6.0.1 ^8.2 ~11.0 || ~12.0 || ~13.0 MIT
v6.0.0 ^8.1 ~10.0 || ~11.0 || ~12.0 MIT
v5.1.0 ^8.2 ~11.0 || ~12.0 || ~13.0 MIT
v5.0.0 ^8.1 ~10.0 || ~11.0 || ~12.0 MIT