PHPackages                             mmalyszko/vinfast-php - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. mmalyszko/vinfast-php

Abandoned → [mmalyszko/php-local-vin-decoder](/?search=mmalyszko%2Fphp-local-vin-decoder)Library[Utility &amp; Helpers](/categories/utility)

mmalyszko/vinfast-php
=====================

Lightweight VIN decoder for PHP 8+. Quickly decode vehicle brand, model, year, country, and region from a VIN — 100% local, no external API required.

v2.0.0(4mo ago)19MITPHPPHP ^8.0CI passing

Since Jun 6Pushed 4mo agoCompare

[ Source](https://github.com/mmalyszko/php-local-vin-decoder)[ Packagist](https://packagist.org/packages/mmalyszko/vinfast-php)[ RSS](/packages/mmalyszko-vinfast-php/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (4)Used By (0)

Lightweight VIN Decoder for PHP 8+
==================================

[](#lightweight-vin-decoder-for-php-8)

[![Packagist Version](https://camo.githubusercontent.com/51c16f12bb61a82c8bd534afecd98885eb9001d4a8fa717625abdb166e4628e1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d6d616c79737a6b6f2f7068702d6c6f63616c2d76696e2d6465636f646572)](https://camo.githubusercontent.com/51c16f12bb61a82c8bd534afecd98885eb9001d4a8fa717625abdb166e4628e1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d6d616c79737a6b6f2f7068702d6c6f63616c2d76696e2d6465636f646572)[![CI](https://github.com/mmalyszko/php-local-vin-decoder/actions/workflows/ci.yml/badge.svg)](https://github.com/mmalyszko/php-local-vin-decoder/actions/workflows/ci.yml)

Decode vehicle brand, model, year, country and region from a VIN number using a fast, local PHP library — no external API calls, no rate limits.

Installation
------------

[](#installation)

```
composer require mmalyszko/php-local-vin-decoder

```

Usage
-----

[](#usage)

```
use VinDecoder\Vin;

$vin = new Vin('W0L0TGF487G011234');

echo $vin->decodeBrand();   // Opel
echo $vin->decodeModel();   // Astra (if available in VDS database)
echo $vin->decodeYear();    // 2007
echo $vin->decodeCountry(); // Germany
echo $vin->decodeRegion();  // Europe
```

VDS Database
------------

[](#vds-database)

Most common VDS codes matched to popular models are included by default. You can override the database with your own file:

```
$vin->setVdsDataFilePath('/path/to/your/vds.php');
```

Testing
-------

[](#testing)

Run all tests and check coverage (100%):

```
composer test
composer test:cover
```

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance76

Regular maintenance activity

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~109 days

Total

3

Last Release

129d ago

Major Versions

v1.1.0 → v2.0.02026-01-09

### Community

Maintainers

![](https://www.gravatar.com/avatar/57c9d09ea67efb601bcca297d85e69c99e5578c40d6a373eef9d44d3277b0394?d=identicon)[mmalyszko](/maintainers/mmalyszko)

---

Top Contributors

[![mmalyszko](https://avatars.githubusercontent.com/u/151824918?v=4)](https://github.com/mmalyszko "mmalyszko (12 commits)")

---

Tags

iso-3779local-libraryphp-libraryphp8vehicle-identificationvin-decodervin-parser

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/mmalyszko-vinfast-php/health.svg)

```
[![Health](https://phpackages.com/badges/mmalyszko-vinfast-php/health.svg)](https://phpackages.com/packages/mmalyszko-vinfast-php)
```

###  Alternatives

[hyperf/di

A DI for Hyperf.

182.8M594](/packages/hyperf-di)[jellybool/translug

Translate Chinese And Then Make It Sluggable

14845.7k](/packages/jellybool-translug)[pantheon-systems/quicksilver-pushback

Push commits made via the Pantheon dashboard back to original GitHub repository.

153.1M18](/packages/pantheon-systems-quicksilver-pushback)[laravel-admin-ext/latlong

Latitude &amp; Longitude selector

7056.3k](/packages/laravel-admin-ext-latlong)[setono/sylius-mailchimp-plugin

Mailchimp plugin for Sylius.

1137.2k](/packages/setono-sylius-mailchimp-plugin)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
