PHPackages                             swatty007/laravel-versioning-helper - 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. swatty007/laravel-versioning-helper

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

swatty007/laravel-versioning-helper
===================================

Versioning Helper to handle Versioning within Laravel applications.

3.0.0(11mo ago)01.9kMITPHPPHP ^8.2CI passing

Since Feb 22Pushed 11mo ago1 watchersCompare

[ Source](https://github.com/swatty007/laravel-versioning-helper)[ Packagist](https://packagist.org/packages/swatty007/laravel-versioning-helper)[ Docs](https://github.com/swatty007/laravel-versioning-helper)[ RSS](/packages/swatty007-laravel-versioning-helper/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (5)Dependencies (7)Versions (8)Used By (0)

Laravel Versioning Helper
=========================

[](#laravel-versioning-helper)

[![Package Banner](./docs/banner.png "Package Banner")](./docs/banner.png)

[![Latest Version on Packagist](https://camo.githubusercontent.com/b5f33a75ad40f53e074a8cbcc0525ff1465cdfca14e47fede72e620cb113c5fd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7377617474793030372f6c61726176656c2d76657273696f6e696e672d68656c7065722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/swatty007/laravel-versioning-helper)[![License: MIT](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](https://opensource.org/licenses/MIT)[![Build Status](https://github.com/swatty007/laravel-versioning-helper/actions/workflows/run-tests.yaml/badge.svg)](https://github.com/swatty007/laravel-versioning-helper/actions/workflows/run-tests.yaml)[![Code Style](https://github.com/swatty007/laravel-versioning-helper/actions/workflows/check-coding-standards.yaml/badge.svg)](https://github.com/swatty007/laravel-versioning-helper/actions/workflows/check-coding-standards.yaml)[![Quality Score](https://camo.githubusercontent.com/aa0a92dd9cb28f1d5cd86e3ec9daf9d9f9c839689fe1ea6a5368259389cbbf0e/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f7377617474793030372f6c61726176656c2d76657273696f6e696e672d68656c7065722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/swatty007/laravel-versioning-helper)[![Total Downloads](https://camo.githubusercontent.com/ee48706117219bc2d38c714d66c83b51c783eee274473bee223342b3ef1bd90a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7377617474793030372f6c61726176656c2d76657273696f6e696e672d68656c7065722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/swatty007/laravel-versioning-helper)

The versioning helper package bundles a small set of helper functions &amp; blade components, to make updating &amp; rendering your applications version &amp; build number an ease.

Its aims at helping you to keep your applications version number up to date &amp; showcasing it within your applications to improve client feedback on support tickets. The package supposes that you are using SemVer to version your application.

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

[](#installation)

You can install the package via composer:

```
composer require swatty007/laravel-versioning-helper
```

Configuration
-------------

[](#configuration)

After installing the package you can publish the configuration file via:

```
php artisan vendor:publish --provider="Swatty007\\LaravelVersioningHelper\\LaravelVersioningHelperServiceProvider"
```

It contains some optional configuration parameters and is fully documented.

Usage
-----

[](#usage)

Simply add the following component to the desired location of your view:

```

```

to display the full versioning information of your application, containing:

- Application Name
- Copyright Information
- Version Number

[![Package Banner](./docs/blade-view.PNG "Package Banner")](./docs/blade-view.PNG)

Alternatively you can also the following components separately, to display only a part of those information:

- x-versioning-helper-application-name
- x-versioning-helper-copyright
- x-versioning-helper-version

You can simply specify the current version of your application through our config file, or through a user definable Cache variable, which can be set/updated via our fully documented versioning artisan command.

```
php artisan versioning:helper --help
```

In addition to that the package will automatically try to look up the latest revision of our application from your repository system of choice &amp; append it as build number to your version string. (Unless configured otherwise!)

[![Package Banner](./docs/artisan-command.png "Package Banner")](./docs/artisan-command.png)

This help to ensure the version numbers which is displayed for your users will always represent the state of its sourcecode, even if you forget to correctly increase your version number. Which helps debugging issues which some in via support tickets!

### Testing

[](#testing)

Always appreciated 😎

```
composer test
```

### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

TODO
----

[](#todo)

- Currently None

Pull Requests are welcome 🧐

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Martin Niehoff](https://github.com/swatty007)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance52

Moderate activity, may be stable

Popularity18

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 97.1% 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 ~393 days

Total

5

Last Release

339d ago

Major Versions

1.0.2 → 2.0.02023-09-26

2.0.0 → 3.0.02025-06-13

PHP version history (3 changes)1.0.0PHP ^7.4|^8.0

2.0.0PHP ^8.1

3.0.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/77f0b9661afdeab758f22b28bd1967aed025aa0e6a68fd6497b2195253ba1d4d?d=identicon)[swatty](/maintainers/swatty)

---

Top Contributors

[![swatty007](https://avatars.githubusercontent.com/u/38767638?v=4)](https://github.com/swatty007 "swatty007 (34 commits)")[![StyleCIBot](https://avatars.githubusercontent.com/u/11048387?v=4)](https://github.com/StyleCIBot "StyleCIBot (1 commits)")

---

Tags

helpersemverversioninggitsvnswatty007laravel-versioning-helper

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/swatty007-laravel-versioning-helper/health.svg)

```
[![Health](https://phpackages.com/badges/swatty007-laravel-versioning-helper/health.svg)](https://phpackages.com/packages/swatty007-laravel-versioning-helper)
```

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[nikolaposa/version

Value Object that represents a SemVer-compliant version number.

1406.4M16](/packages/nikolaposa-version)[shivas/versioning-bundle

Symfony application versioning, simple console command to manage version (with providers e.g. git tag) of your application using Semantic Versioning 2.0.0 recommendations

1121.2M1](/packages/shivas-versioning-bundle)[naneau/semver

A decent, standards-compliant, Semantic Versioning (SemVer) parser and library

72496.2k13](/packages/naneau-semver)[igorsgm/laravel-git-hooks

🪝• Efficiently manage Git hooks in Laravel projects. Enhance code quality, save time on reviews, and prevent bugs from entering your repository.

2931.7k1](/packages/igorsgm-laravel-git-hooks)

PHPackages © 2026

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