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

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

laravel-version-manager/tazz
============================

It's Laravel Package used for version control.

v1.0.0(1y ago)019MITPHPPHP ^8.2

Since Feb 8Pushed 1y ago1 watchersCompare

[ Source](https://github.com/tazztz/laravel-version-manager)[ Packagist](https://packagist.org/packages/laravel-version-manager/tazz)[ RSS](/packages/laravel-version-manager-tazz/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (5)Versions (2)Used By (0)

Laravel Version Manager
=======================

[](#laravel-version-manager)

A Laravel package for managing version control in your applications.

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

[](#installation)

You can install the package via composer:

```
composer require laravel-version-manager/tazz:dev-main
```

After installing, run the installation command:

```
php artisan version:install
```

This command will:

1. Create a `version.json` file in your storage directory with default version (1.0.0)
2. Create a `version.php` configuration file in your config directory
3. Create a ViewServiceProvider that injects the version into all views
4. Register the ViewServiceProvider in your `config/app.php`

### Manual Provider Registration

[](#manual-provider-registration)

If the ViewServiceProvider is not automatically registered, you can register it manually in your `config/app.php` file:

```
use Illuminate\Support\ServiceProvider;

'providers' => ServiceProvider::defaultProviders()->merge([
    /*
     * Package Service Providers...
         */
        LaravelVersionManager\Tazz\VersionManagerServiceProvider::class,

        /*
         * Application Service Providers...
         */
        App\Providers\AppServiceProvider::class,
        App\Providers\ViewServiceProvider::class,
    ])->toArray(),
...

Now You can use the version manager in your views by injected variable.

If you dont register the provider in config/app.php, then you can the facade directly.

## Usage

### In Blade Templates

You can display the version number in your blade templates in two ways:

```blade

Current Version: {{ $version ?? '1.0.0' }}

Current Version: {{ \VersionManager::getVersion() }}
```

### Via Command Line

[](#via-command-line)

```
# View current version
php artisan version:current

# Increment version numbers
php artisan version:increment patch   # Increases patch version (1.0.0 -> 1.0.1)
php artisan version:increment minor   # Increases minor version (1.0.1 -> 1.1.0)
php artisan version:increment major   # Increases major version (1.1.0 -> 2.0.0)
```

### In PHP Code

[](#in-php-code)

```
use LaravelVersionManager\Tazz\Facades\VersionManager;

// Get current version
$version = VersionManager::getVersion();

// Increment version numbers
VersionManager::increment('patch');   // Increases patch version (1.0.0 -> 1.0.1)
VersionManager::increment('minor');   // Increases minor version (1.0.1 -> 1.1.0)
VersionManager::increment('major');   // Increases major version (1.1.0 -> 2.0.0)
```

### Version File Structure

[](#version-file-structure)

The version information is stored in `storage/version.json` with the following structure:

```
{
    "version": "1.0.0",
    "major": 1,
    "minor": 0,
    "patch": 0,
    "prerelease": "",
    "buildmetadata": "",
    "timestamp": "2024-03-14T12:00:00+00:00"
}
```

Testing
-------

[](#testing)

Run the test suite:

```
composer test
```

Security
--------

[](#security)

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

Credits
-------

[](#credits)

- [Mohammad Tazz](https://github.com/tazztz)

License
-------

[](#license)

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

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance40

Moderate activity, may be stable

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

509d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6884900?v=4)[Mohammad Tazz](/maintainers/tazztz)[@tazztz](https://github.com/tazztz)

---

Top Contributors

[![tazztz](https://avatars.githubusercontent.com/u/6884900?v=4)](https://github.com/tazztz "tazztz (56 commits)")

---

Tags

laravelmanagerversion

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M188](/packages/laravel-ai)[laravel/sail

Docker files for running a basic Laravel application.

1.9k205.7M1.3k](/packages/laravel-sail)[psalm/plugin-laravel

Psalm plugin for Laravel

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

Rapidly build MCP servers for your Laravel applications.

77022.3M145](/packages/laravel-mcp)[propaganistas/laravel-disposable-email

Disposable email validator

6023.0M7](/packages/propaganistas-laravel-disposable-email)[tallstackui/tallstackui

TallStackUI is a powerful suite of Blade components that elevate your workflow of Livewire applications.

725172.4k14](/packages/tallstackui-tallstackui)

PHPackages © 2026

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