PHPackages                             dossierdata/license-plate - 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. dossierdata/license-plate

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

dossierdata/license-plate
=========================

PHP library to validate and format license plate numbers.

v1.1.1(6y ago)244.5k↓18.4%2LGPL-2.0-onlyPHPPHP &gt;=7.1CI failing

Since Oct 16Pushed 6y ago5 watchersCompare

[ Source](https://github.com/dossierdata/license-plate)[ Packagist](https://packagist.org/packages/dossierdata/license-plate)[ Docs](http://github.com/dossierdata/licence-plate.git)[ RSS](/packages/dossierdata-license-plate/feed)WikiDiscussions master Synced 1mo ago

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

License plate validator and formatter
=====================================

[](#license-plate-validator-and-formatter)

[![Build Status](https://camo.githubusercontent.com/e2dd9ea78f899bab0e85e7cb4a5628c0b7feaded399b56ab3a12457fc8b1c20a/68747470733a2f2f7472617669732d63692e6f72672f646f7373696572646174612f6c6963656e73652d706c6174652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/dossierdata/license-plate)

This library can be used to validate and format license plate numbers. Countries currently supported:

- Belgium (1971-now)
- France (1976-now)
- German (unknown-now)
- Israel (unknown date-now)
- Netherlands (1951-now)
- Spain (1900-now)
- United Kingdom (1903-now)

Other countries will be added in the future

How to install
==============

[](#how-to-install)

Add the following to your composer.json:

```
{
    "require": {
        "dossierdata/license-plate": "^1.0.0"
    }
}
```

How to use
==========

[](#how-to-use)

Call the constructor of the license plate class of your choice with the user input as the first parameter:

```
