PHPackages                             dartui/polish-validators - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Validation &amp; Sanitization](/categories/validation)
4. /
5. dartui/polish-validators

ActiveLibrary[Validation &amp; Sanitization](/categories/validation)

dartui/polish-validators
========================

Polish Validators for Laravel

1.0.1(8y ago)41.6kMITPHPPHP &gt;=5.6.4

Since Jul 13Pushed 5y ago1 watchersCompare

[ Source](https://github.com/Dartui/laravel-polish-validators)[ Packagist](https://packagist.org/packages/dartui/polish-validators)[ Docs](http://grabania.pl)[ RSS](/packages/dartui-polish-validators/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (1)Versions (3)Used By (0)

Laravel Polish Validators
=========================

[](#laravel-polish-validators)

Available rules
---------------

[](#available-rules)

NameDescriptionExampleField or ParameterPESELUniversal Electronic System for Registration of the Population73021604589peselNIPVAT identification number (without leading PL)123-123-12-12nipREGONTaxpayer Identification Number158395862regonPWZDoctors license number6249056pwzInstalation
-----------

[](#instalation)

Require this package with composer:

```
composer require dartui/polish-validators
```

After updating composer, add the ServiceProvider to the providers array in `config/app.php`

> Laravel 5.5 uses Package Auto-Discovery, so doesn't require you to manually add the ServiceProvider

```
Dartui\PolishValidators\ServiceProvider::class
```

Now you need to add message to language files in `resources/lang/XX/validation.php`

```
'valid' => 'The :attribute is not valid.',
```

Usage
-----

[](#usage)

By default validation type is chosen by field name. If you want you can force validation type by giving `parameter` after colon in rule.

```
$data = [
	'pesel'         => '01234567890',
	'some_field'    => '123123123',
	'another_field' => '12345678',
	'pwz'           => '1311111',
];

$validator = Validator::make( $data, [
	'pesel'         => 'valid',
	'some_field'    => 'valid:nip',
	'another_field' => 'valid:regon',
	'pwz'           => 'valid',
] );

$validator->valid();
```

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

3228d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/95dd08b3f7f83eedb53d6a13b37a9c2121336d1ae1615e79d5b274e59d32ead8?d=identicon)[Dartui](/maintainers/Dartui)

---

Top Contributors

[![Dartui](https://avatars.githubusercontent.com/u/2657856?v=4)](https://github.com/Dartui "Dartui (4 commits)")

---

Tags

validatorpolish

### Embed Badge

![Health badge](/badges/dartui-polish-validators/health.svg)

```
[![Health](https://phpackages.com/badges/dartui-polish-validators/health.svg)](https://phpackages.com/packages/dartui-polish-validators)
```

###  Alternatives

[proengsoft/laravel-jsvalidation

Validate forms transparently with Javascript reusing your Laravel Validation Rules, Messages, and FormRequest

1.1k2.3M49](/packages/proengsoft-laravel-jsvalidation)[sunspikes/clamav-validator

Custom Laravel 5 anti-virus validator for file uploads.

3651.8M3](/packages/sunspikes-clamav-validator)[laravel-validation-rules/credit-card

Validate credit card number, expiration date, cvc

2412.2M5](/packages/laravel-validation-rules-credit-card)[illuminatech/validation-composite

Allows uniting several validation rules into a single one for easy re-usage

184485.5k](/packages/illuminatech-validation-composite)[laravel-validation-rules/phone

Validate that a phone number is in the correct format

69355.5k](/packages/laravel-validation-rules-phone)[sadegh19b/laravel-persian-validation

A comprehensive Laravel validation package for Persian text, numbers, dates, and Iranian national identifiers

18293.8k1](/packages/sadegh19b-laravel-persian-validation)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
