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.2CI failing

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 today

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 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity73

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

936d 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://avatars.githubusercontent.com/u/5918?v=4)[Morgan Schweers](/maintainers/Cyberfox)[@cyberfox](https://github.com/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

[laravel/horizon

Dashboard and code-driven configuration for Laravel queues.

4.2k95.4M306](/packages/laravel-horizon)[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)[laravel/mcp

Rapidly build MCP servers for your Laravel applications.

77022.3M151](/packages/laravel-mcp)[illuminate/queue

The Illuminate Queue package.

21332.6M1.6k](/packages/illuminate-queue)[spatie/laravel-health

Monitor the health of a Laravel application

87512.0M167](/packages/spatie-laravel-health)

PHPackages © 2026

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