PHPackages                             omatech/vendor-version - 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. omatech/vendor-version

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

omatech/vendor-version
======================

Check composer installation and get information of packages installed in vendor folder

01[1 PRs](https://github.com/omatech/vendor-version/pulls)PHPCI passing

Since Nov 17Pushed 4w ago5 watchersCompare

[ Source](https://github.com/omatech/vendor-version)[ Packagist](https://packagist.org/packages/omatech/vendor-version)[ RSS](/packages/omatech-vendor-version/feed)WikiDiscussions master Synced 5d ago

READMEChangelogDependenciesVersions (3)Used By (0)

Usage
=====

[](#usage)

```
$vv = new VendorVersion();
$vv->init(YOUR_PROJECT_ROOT_FOLDER);
$res=$vv->isInstalled('phpunit/phpunit');
// returns true or false

if ($res)
{
    $version_res=$vv->checkMinVersion('phpunit/phpunit', '8.0');
    // returns true if at least you have version 8.0 installed
    $version=$vv->getVersion('phpunit/phpunit');
    // now $version have the exact phpunit/phpunit installed
}

```

Test
====

[](#test)

```
phpunit --bootstrap vendor/autoload.php tests

```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance62

Regular maintenance activity

Popularity1

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/2a6b2440a7864015d71501a9cd77d28bed549c283afdd8d1af95f54b650dc833?d=identicon)[aponscat](/maintainers/aponscat)

### Embed Badge

![Health badge](/badges/omatech-vendor-version/health.svg)

```
[![Health](https://phpackages.com/badges/omatech-vendor-version/health.svg)](https://phpackages.com/packages/omatech-vendor-version)
```

###  Alternatives

[odiseoteam/sylius-vendor-plugin

Vendor plugin for Sylius. Add Vendor (Brand) to your products

5967.2k1](/packages/odiseoteam-sylius-vendor-plugin)

PHPackages © 2026

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