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 1w 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

30

—

LowBetter than 61% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

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

1639d 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

[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.

329575.9k33](/packages/codewithdennis-filament-select-tree)[tomshaw/electricgrid

A feature-rich Livewire package designed for projects that require dynamic, interactive data tables.

119.8k](/packages/tomshaw-electricgrid)[tarfin-labs/event-machine

Event-driven state machines for Laravel with event sourcing, type-safe context, and full audit trail.

209.6k](/packages/tarfin-labs-event-machine)[tapp/filament-form-builder

User facing form builder using Filament components

133.5k5](/packages/tapp-filament-form-builder)

PHPackages © 2026

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