pacerit / laravel-polish-validation-rules by WiktorPacer

Simple Polish Validation rules for Laravel and Lumen framework
30,254
10
2
Package Data
Maintainer Username: WiktorPacer
Maintainer Contact: kontakt@pacerit.pl (Wiktor Pacer)
Package Create Date: 2019-08-12
Package Last Update: 2023-05-22
Home Page:
Language: PHP
License: MIT
Last Refreshed: 2024-05-03 15:25:33
Package Statistics
Total Downloads: 30,254
Monthly Downloads: 659
Daily Downloads: 3
Total Stars: 10
Total Watchers: 2
Total Forks: 4
Total Open Issues: 0

Laravel Polish Validation Rules

GitHub tag (latest by date) GitHub Packagist PHP from Packagist StyleCI Build Status

Simple Polish Validation rules for Laravel and Lumen framework

Installation

You can install this package by composer:

composer require pacerit/laravel-polish-validation-rules

For customize validaiton messages run: For more configuration, you can publish configuration file:

php artisan vendor:publish --provider "PacerIT\LaravelPolishValidationRules\Providers\LaravelPolishValidationRulesServiceProvider"

Version compatibility

Laravel

Framework | Package :---------|:-------- 5.8.x | ^1.x.x

Lumen

Framework | Package :---------|:-------- 5.8.x | ^1.x.x

Rules

  1. 'PESEL' - validate PESEL number
  2. 'REGON' - validate REGON number
  3. 'NIP' - validate NIP number
  4. 'id_card_number' - validate Polish ID Card number

Code Authors

The algorithms used in the functions are based on existing solutions. Below are links to the sources:

Changelog

Go to the Changelog for a full change history of the package.

Testing

composer test

Security Vulnerabilities

If you discover a security vulnerability within package, please send an e-mail to Wiktor Pacer via kontakt@pacerit.pl. All security vulnerabilities will be promptly addressed.

License

This package is open-source software licensed under the MIT license.