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

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

fox/laravel-application-version
===============================

Fox's smarter application version manager

3.1.0(2y ago)21.4kMITPHPPHP ^8.0.2

Since May 3Pushed 2y ago1 watchersCompare

[ Source](https://github.com/master-vulpus/laravel-application-version)[ Packagist](https://packagist.org/packages/fox/laravel-application-version)[ RSS](/packages/fox-laravel-application-version/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (7)Versions (15)Used By (0)

Laravel Application Version
===========================

[](#laravel-application-version)

Fox's smarter application version manager :)

Requirements
------------

[](#requirements)

- PHP &gt;= 8.0.2
- Composer &gt;= 2.0
- Supported Laravel Framework versions: 7.0, 8.0 and 9.0

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

[](#installation)

Use composer to install and use this package in your project.

Install them with

```
composer require "fox/laravel-application-version"
```

and you are ready to go!

### Laravel

[](#laravel)

The service provider will automatically get registered. Or you may manually add the service provider to your `config/app.php` file:

```
'providers' => [
    // ...
    Fox\Application\Version\ServiceProvider::class,
];
```

Usage
-----

[](#usage)

You can use the provided classes directly for your own purpose.

### Version

[](#version)

```
$myVersion = new Fox\Application\Version\Version(1, 0, 23, 'alpha');

echo $myVersion->major();
echo $myVersion->minor();
echo $myVersion->patch();
echo $myVersion->build();
echo (string) $myVersion;
```

This will generate the following output:

```
1
0
23
alpha
1.0.23-alpha

```

### Version Manager

[](#version-manager)

You may also use the version manager to determine the current version of your application by parsing the composer.json file and run git to receive the last commit id of your working directory used as additional `build` information.

```
$versionManager = app('version-manager');
$myVersion = $versionManager->getCurrentVersion();

```

Development - Getting Started
-----------------------------

[](#development---getting-started)

See the [CONTRIBUTING](CONTRIBUTING.md) file.

Changelog
---------

[](#changelog)

See the [CHANGELOG](CHANGELOG.md) file.

License
-------

[](#license)

See the [LICENSE](LICENSE.md) file.

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity72

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

Recently: every ~232 days

Total

14

Last Release

889d ago

Major Versions

1.2.1 → 2.0.02021-04-30

2.1.0 → 3.0.02023-01-31

PHP version history (4 changes)1.0.0PHP ^7.2.1

2.0.0PHP ^7.4.1

2.0.1PHP &gt;=7.4.1

3.0.0PHP ^8.0.2

### Community

Maintainers

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

---

Top Contributors

[![master-vulpus](https://avatars.githubusercontent.com/u/2370344?v=4)](https://github.com/master-vulpus "master-vulpus (26 commits)")

---

Tags

composerlaravellaravelartisanapplicationversion

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

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

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

###  Alternatives

[wnx/laravel-stats

Get insights about your Laravel Project

1.8k1.8M7](/packages/wnx-laravel-stats)[spatie/laravel-livewire-wizard

Build wizards using Livewire

4061.0M4](/packages/spatie-laravel-livewire-wizard)[bensampo/laravel-embed

Painless responsive embeds for videos, slideshows and more.

142146.8k](/packages/bensampo-laravel-embed)[dragon-code/pretty-routes

Pretty Routes for Laravel

10058.7k4](/packages/dragon-code-pretty-routes)[laracraft-tech/laravel-useful-additions

A collection of useful Laravel additions!

58109.4k](/packages/laracraft-tech-laravel-useful-additions)[keepsuit/laravel-temporal

Laravel temporal.io

4875.0k](/packages/keepsuit-laravel-temporal)

PHPackages © 2026

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