All Projects → sunrise-php → vin

sunrise-php / vin

Licence: MIT License
Simple VIN decoder for PHP 7.1+ (incl. PHP 8) based on ISO-3779

Programming Languages

PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to vin

vin-decoder
Vehicle Identification Number
Stars: ✭ 21 (-46.15%)
Mutual labels:  vin, vin-decoder
php-json-schema-model-generator
Creates (immutable) PHP model classes from JSON-Schema files including all validation rules as PHP code
Stars: ✭ 36 (-7.69%)
Mutual labels:  php8
autoload
Aplus Framework Autoload Library
Stars: ✭ 18 (-53.85%)
Mutual labels:  php8
database
Aplus Framework Database Library
Stars: ✭ 147 (+276.92%)
Mutual labels:  php8
pthreads
Fork of https://github.com/krakjoe/pthreads with various improvements, including PHP 7.4+ support
Stars: ✭ 45 (+15.38%)
Mutual labels:  php8
ResidenceCMS
Open Source Property Management System based on Symfony 6
Stars: ✭ 75 (+92.31%)
Mutual labels:  php8
php8-xdebug
PHP 8.0 for development and production usage. With nginx, brotli, xdebug, JIT and more...
Stars: ✭ 17 (-56.41%)
Mutual labels:  php8
php-design-patterns
Learn how to implement the most important Design Patterns into your PHP application. This project uses PHP 8.1. it has examples for each Pattern and an Article explaining how to use them step by step, their advantages, and disadvantages.
Stars: ✭ 151 (+287.18%)
Mutual labels:  php8
engine
A pragmatic approach to templating for PHP 7.x+
Stars: ✭ 31 (-20.51%)
Mutual labels:  php8
http
Aplus Framework HTTP Library
Stars: ✭ 113 (+189.74%)
Mutual labels:  php8
framework
FEAST Framework
Stars: ✭ 66 (+69.23%)
Mutual labels:  php8
php-rar
PECL rar extension
Stars: ✭ 35 (-10.26%)
Mutual labels:  php8
php-mime-detector
Detect a file's mime type using magic numbers.
Stars: ✭ 20 (-48.72%)
Mutual labels:  php8
php-simple-benchmark-script
Очень простой скрипт тестирования быстродействия PHP | Very simple script for testing of PHP operations speed (rusoft repo mirror)
Stars: ✭ 50 (+28.21%)
Mutual labels:  php8
cli
Aplus Framework CLI Library
Stars: ✭ 104 (+166.67%)
Mutual labels:  php8
SPL
[deprecated] Miscellaneous PHP library files required by PocketMine-MP and related projects
Stars: ✭ 13 (-66.67%)
Mutual labels:  php8
SimplePets
🐕‍🦺 An Ultimate Pets plugin for PocketMine-MP.
Stars: ✭ 20 (-48.72%)
Mutual labels:  php8
oas
ระบบบัญชีออนไลน์ Online Accounting System (OAS)
Stars: ✭ 51 (+30.77%)
Mutual labels:  php8
booking
PHP Room meeting script โปรแกรมจองห้องประชุม PHP
Stars: ✭ 18 (-53.85%)
Mutual labels:  php8
WCMP
WCMP是基于Windows x64平台下的Caddy2 + PHP + MySQL便携软件包。
Stars: ✭ 17 (-56.41%)
Mutual labels:  php8

Simple VIN decoder for PHP 7.1+ (incl. PHP 8) based on ISO-3779

Gitter Build Status Code Coverage Scrutinizer Code Quality Total Downloads Latest Stable Version License

Installation

composer require sunrise/vin

How to use?

use InvalidArgumentException;
use Sunrise\Vin\Vin;

try {
    $vin = new Vin('WVWZZZ1KZ6W612305');
} catch (InvalidArgumentException $e) {
    // It isn't a valid VIN...
}

$vin->getVin(); // returns "WVWZZZ1KZ6W612305"
$vin->getWmi(); // returns "WVW"
$vin->getVds(); // returns "ZZZ1KZ"
$vin->getVis(); // returns "6W612305"
$vin->getRegion(); // returns "Europe"
$vin->getCountry(); // returns "Germany"
$vin->getManufacturer(); // returns "Volkswagen"
$vin->getModelYear(); // returns [2006]

Useful links

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].