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

ActiveLibrary

spinzar/version
===============

Version management package for Laravel.

1.0.0(5y ago)1475MITPHPPHP ^5.6.0|^7.0|^7.1|^7.2|^7.3|^7.4

Since Nov 2Pushed 5y ago1 watchersCompare

[ Source](https://github.com/spinzar/version)[ Packagist](https://packagist.org/packages/spinzar/version)[ RSS](/packages/spinzar-version/feed)WikiDiscussions main Synced 2mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Version management package for Laravel.
=======================================

[](#version-management-package-for-laravel)

[![Release](https://camo.githubusercontent.com/101d0d57c3f0a3fbfd6c6b571e651c50ad9867e76554840fa05f5641fe31afe7/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f7370696e7a61722f76657273696f6e3f6c6162656c3d72656c65617365)](https://github.com/spinzar/version/releases)[![Downloads](https://camo.githubusercontent.com/c5f205772fc0481ec126f957f1e78faa89e3140441026a364d0a7227ce211a8b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f646f776e6c6f6164732f7370696e7a61722f76657273696f6e2f746f74616c3f6c6162656c3d646f776e6c6f616473)](https://camo.githubusercontent.com/c5f205772fc0481ec126f957f1e78faa89e3140441026a364d0a7227ce211a8b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f646f776e6c6f6164732f7370696e7a61722f76657273696f6e2f746f74616c3f6c6162656c3d646f776e6c6f616473)[![Tests](https://camo.githubusercontent.com/a3e9aedd1f3fe98d6062308da8c5bc94e40750db136432e80019abb550b8d6ef/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f7370696e7a61722f76657273696f6e2f54657374733f6c6162656c3d7465737473)](https://github.com/spinzar/version/actions)[![StyleCI](https://camo.githubusercontent.com/06f41e6a22ff08b2ecf913297792156c3ed399934acd66eaa815d4bce8786530/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3330393335363839382f736869656c643f6272616e63683d6d61696e)](https://github.styleci.io/repos/309356898?branch=main)[![License](https://camo.githubusercontent.com/1e3a0d0066f29b7fc1909c15fb9e23a95a49bb61bb63a57f135bbc5952bf1376/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f7370696e7a61722f76657273696f6e3f6c6162656c3d6c6963656e7365)](LICENSE.txt)

A [SemVer](http://semver.org) compatible version management package for softwares built on Laravel.

Getting Started
---------------

[](#getting-started)

### 1. Install

[](#1-install)

Run the following command:

```
composer require spinzar/version
```

### 2. Register (for Laravel &lt; 5.5)

[](#2-register-for-laravel--55)

Register the service provider in `config/app.php`

```
Spinzar\Version\Provider::class,
```

Add alias if you want to use the facade.

```
'Version' => Spinzar\Version\Facade::class,
```

### 3. Publish

[](#3-publish)

Publish config file.

```
php artisan vendor:publish --tag=version
```

### 4. Configure

[](#4-configure)

You can change the version information of your app from `config/version.php` file

Usage
-----

[](#usage)

### version($method = null)

[](#versionmethod--null)

You can either enter the method like `version('short')` or leave it empty so you could firstly get the instance then call the methods like `version()->short()`

Changelog
---------

[](#changelog)

Please see [Releases](../../releases) for more information what has changed recently.

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

[](#contributing)

Pull requests are more than welcome. You must follow the PSR coding standards.

Security
--------

[](#security)

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

Credits
-------

[](#credits)

- [Nassim Nasibullah](https://github.com/spinzar)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.7% 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

Unknown

Total

1

Last Release

2019d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/987ff229c44a1c7100e95f77e4bc07c911f99ff9f270bbcf7b9b4bac0318635f?d=identicon)[spinzar](/maintainers/spinzar)

---

Top Contributors

[![spinzar](https://avatars.githubusercontent.com/u/73431676?v=4)](https://github.com/spinzar "spinzar (2 commits)")[![nassimnasibullah](https://avatars.githubusercontent.com/u/12146118?v=4)](https://github.com/nassimnasibullah "nassimnasibullah (1 commits)")

---

Tags

laravelversion

### Embed Badge

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

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

###  Alternatives

[pragmarx/version

Take control over your Laravel app version

5921.2M2](/packages/pragmarx-version)[anourvalar/eloquent-serialize

Laravel Query Builder (Eloquent) serialization

11320.2M21](/packages/anourvalar-eloquent-serialize)

PHPackages © 2026

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