{"id":25081795,"url":"https://github.com/rapideinternet/dossierdata.licenseplate","last_synced_at":"2025-04-01T09:43:10.085Z","repository":{"id":33327387,"uuid":"152235164","full_name":"rapideinternet/dossierdata.licenseplate","owner":"rapideinternet","description":null,"archived":false,"fork":false,"pushed_at":"2023-12-15T05:29:48.000Z","size":23,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-02-07T05:19:26.456Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rapideinternet.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-10-09T10:53:16.000Z","updated_at":"2023-10-27T08:22:55.000Z","dependencies_parsed_at":"2022-08-07T20:30:37.344Z","dependency_job_id":null,"html_url":"https://github.com/rapideinternet/dossierdata.licenseplate","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rapideinternet%2Fdossierdata.licenseplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rapideinternet%2Fdossierdata.licenseplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rapideinternet%2Fdossierdata.licenseplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rapideinternet%2Fdossierdata.licenseplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rapideinternet","download_url":"https://codeload.github.com/rapideinternet/dossierdata.licenseplate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246620204,"owners_count":20806718,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-02-07T05:18:58.816Z","updated_at":"2025-04-01T09:43:10.068Z","avatar_url":"https://github.com/rapideinternet.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"License plate validator and formatter\n=====================================\n\n[![Build Status](https://secure.travis-ci.org/Intrepidity/LicensePlate.svg)](http://travis-ci.org/Intrepidity/LicensePlate)\n\nThis library can be used to validate and format license plate numbers.\nCountries currently supported:\n\n* Belgium (1971-now)\n* France (1976-now)\n* German (unknown-now)\n* Israel (unknown date-now)\n* Netherlands (1951-now)\n* Spain (1900-now)\n* United Kingdom (1903-now)\n\nOther countries will be added in the future\n\nHow to install\n==============\n\nAdd the following to your composer.json:\n\n``` json\n{\n    \"require\": {\n        \"intrepidity/license-plate\": \"^1.0.0\"\n    }\n}\n```\n\nHow to use\n==========\n\nCall the constructor of the license plate class of your choice with the user input as the first parameter:\n\n``` php\n\u003c?php\n$licenseplate = new \\Intrepidity\\LicensePlate\\DutchLicensePlate('08ttnp');\nif($licenseplate-\u003eisValid())\n{\n    echo $licenseplate-\u003eformat(); // Outputs 08-TT-NP in this case\n}\n```\n\nSince the license plate classes for each country implement the LicensePlateInterface, they expose isValid() and format() methods.\nCountry-specific methods may also be available. Please check the code of the specific class to get the complete picture.\n\nPlease note that this library does not check if a license plate actually exists, nor does it exclude combinations that aren't allowed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frapideinternet%2Fdossierdata.licenseplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frapideinternet%2Fdossierdata.licenseplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frapideinternet%2Fdossierdata.licenseplate/lists"}