PHPackages                             senither/version-comparison - 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. senither/version-comparison

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

senither/version-comparison
===========================

Compares current git commit SHA with a remotely tracked version to see if the application is outdated

1.2.0(4y ago)02.1kMITPHPPHP ^7.4|^8.0CI failing

Since Mar 30Pushed 4y ago1 watchersCompare

[ Source](https://github.com/Senither/version-comparison)[ Packagist](https://packagist.org/packages/senither/version-comparison)[ Docs](https://github.com/senither/version-comparison)[ RSS](/packages/senither-version-comparison/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (6)Dependencies (2)Versions (8)Used By (0)

Version Comparison
==================

[](#version-comparison)

A Laravel package that compares the current git commit SHA with a remotely tracked version to see if the application is outdated, this is used in some of my projects to allow users to see when their instance of my software is out of date.

> **Note:** The project relies on private version tracking software, it will not do anything without a tracking ID the system can use to compare commit SHAs.

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

[](#installation)

You can install the package via composer:

```
composer require senither/version-comparison
```

You can publish the config file with:

```
php artisan vendor:publish --provider="Senither\VersionComparison\VersionComparisonServiceProvider" --tag="config"
```

This is the contents of the published config file:

```
return [

    /*
    |--------------------------------------------------------------------------
    | Version Tracking ID
    |--------------------------------------------------------------------------
    |
    | The unique ID for the project that the latest git commit SHA
    | should be compared with via the API, this can be found on
    | the version tracker when selecting the project.
    |
    | @url https://vt.senither.com/dashboard
    */

    'id' => env('VERSION_COMPARISON_ID', null),

    /*
    |--------------------------------------------------------------------------
    | Cache Expiration Times
    |--------------------------------------------------------------------------
    |
    | The amount of time in seconds that should elapse before
    | the current commit hash is refreshed, or the latest
    | version is fetched from the API.
    |
    */

    'cache_time' => [
        'version' => 7200,
        'commit_hash' => 3600,
    ],
];
```

Usage
-----

[](#usage)

```
use Senither\VersionComparison\Facades\Version;

// Gets the current version
Version::getCurrentVersion();
```

License
-------

[](#license)

The Version Comparison package open-sourced software licensed under the [MIT license](LICENSE.md).

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity62

Established project with proven stability

 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 ~53 days

Recently: every ~79 days

Total

7

Last Release

1594d ago

PHP version history (2 changes)1.0.0PHP ^7.4

1.0.4PHP ^7.4|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/3696877337c30ae8c18af745a923d023f8d51a49acfb77d7686008d6ddae5c21?d=identicon)[Senither](/maintainers/Senither)

---

Top Contributors

[![Senither](https://avatars.githubusercontent.com/u/8415349?v=4)](https://github.com/Senither "Senither (11 commits)")

---

Tags

laravelversion-comparisonsenither

### Embed Badge

![Health badge](/badges/senither-version-comparison/health.svg)

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[codewithdennis/filament-select-tree

The multi-level select field enables you to make single selections from a predefined list of options that are organized into multiple levels or depths.

328482.0k25](/packages/codewithdennis-filament-select-tree)[nativephp/desktop

NativePHP for Desktop

38133.6k8](/packages/nativephp-desktop)[worksome/exchange

Check Exchange Rates for any currency in Laravel.

124581.3k](/packages/worksome-exchange)[hydrat/filament-table-layout-toggle

Filament plugin adding a toggle button to tables, allowing user to switch between Grid and Table layouts.

63105.4k2](/packages/hydrat-filament-table-layout-toggle)[linkxtr/laravel-qrcode

A clean, modern, and easy-to-use QR code generator for Laravel

3614.9k](/packages/linkxtr-laravel-qrcode)

PHPackages © 2026

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