Looking to hire Laravel developers? Try LaraJobs

laravel-german-license-plate-validator maintained by ikromjon1998

Description
A Laravel package that provides a custom validation rule to verify the format of German license plate numbers, ensuring compliance with standard German license plate conventions.
Author
Last update
2026/07/20 22:47 (dev-main)
License
Links
Downloads
6

Comments
comments powered by Disqus

German License Plate Validator for Laravel

A Laravel package to validate German license plate numbers.

Installation

Install via Composer:

composer require ikromjon1998/german-license-validator

Usage

Use the custom validation rule in your Laravel validators:

$request->validate([
    'license_plate' => 'required|german_license_plate',
]);

Configuration

You can publish the configuration file to customize the regex or error messages:

php artisan vendor:publish --tag=config

The configuration file will be published to config/license-plate.php.

Testing

Run tests with PHPUnit:

vendor/bin/phpunit

Support

For questions or issues, contact: ikromjon98.98@icloud.com