PHPackages                             mrcrankhank/laravel-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. mrcrankhank/laravel-version

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

mrcrankhank/laravel-version
===========================

1.3(6y ago)01.3kMITPHPPHP &gt;=7.0

Since Mar 17Pushed 6y ago1 watchersCompare

[ Source](https://github.com/Hank-IT/laravel-version)[ Packagist](https://packagist.org/packages/mrcrankhank/laravel-version)[ RSS](/packages/mrcrankhank-laravel-version/feed)WikiDiscussions master Synced yesterday

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

Laravel-Version
===============

[](#laravel-version)

This simple package reads a version.json (or whatever is configured) from your base\_path() and gives you a version object, which you can utilize in your view.

```
 Laravel  @unless($version->isEmpty()) (Version: {{ $version->branch }}-{{ $version->build }}-{{ $version->hash }}) @endif

```

No errors are thrown if the key doesn't exist or the json file is missing or invalid.

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

[](#installation)

> composer require mrcrankhank/laravel-update

If you run Laravel &lt;= 5.4, add the service provider to the 'providers' array in config/app.php:

> MrCrankHank\\LaravelVersion\\VersionServiceProvider

Publish config file (only necessary if you don't want to use the default filename 'version.json')

> php artisan vendor:publish

Compatibility
-------------

[](#compatibility)

This package was developed in Laravel 5.5, but should work in other versions as well.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity61

Established project with proven stability

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

Total

4

Last Release

2284d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b176c98fc9adff4e01a107cc2076bb217eb9ec964a3470e183866c3d71d7a10d?d=identicon)[AlexH269](/maintainers/AlexH269)

### Embed Badge

![Health badge](/badges/mrcrankhank-laravel-version/health.svg)

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[illuminate/pipeline

The Illuminate Pipeline package.

9348.3M268](/packages/illuminate-pipeline)[illuminate/pagination

The Illuminate Pagination package.

10533.5M996](/packages/illuminate-pagination)[illuminate/redis

The Illuminate Redis package.

8314.4M363](/packages/illuminate-redis)[illuminate/process

The Illuminate Process package.

44869.2k97](/packages/illuminate-process)[illuminate/cookie

The Illuminate Cookie package.

224.5M132](/packages/illuminate-cookie)

PHPackages © 2026

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