PHPackages                             marcohoutmandev/rmt-versioning - 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. marcohoutmandev/rmt-versioning

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

marcohoutmandev/rmt-versioning
==============================

Extension for the RMT package. Used for adding custom versioning + changelog handeling.

1.2.6(3mo ago)081MITPHPPHP ~8.4.0 || ~8.5.0

Since Mar 18Pushed 3mo agoCompare

[ Source](https://github.com/marcohoutmandev/rmt-versioning)[ Packagist](https://packagist.org/packages/marcohoutmandev/rmt-versioning)[ Docs](https://github.com/marcohoutmandev/rmt-versioning)[ RSS](/packages/marcohoutmandev-rmt-versioning/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (2)Dependencies (4)Versions (10)Used By (0)

rmt-versioning
==============

[](#rmt-versioning)

This is an extension package for the liip/RMT tool, which helps developers with the release of new version of their software. Out-of-the box the RMT tool creates tags and even a changelog, but the generation of the changelog is always a single line. With bigger projects, chances are you want to release more than one committed changes and bundle them before creating a new release.

This is where this extension helps. There are three actions you can use when creating a new release. You can use all three, or just one.

VersionTxtAction.
-----------------

[](#versiontxtaction)

The version number generated by RMT is used as a tag number. The VersionTxtAction writes this generated version number in a file called 'VERSION.txt' and saves it in the root (= default location) or an other specified folder within the project.

ChangelogTxtAction
------------------

[](#changelogtxtaction)

Instead of asking for a single line of text to add to a changlog, this action depends on a file (CHANGELOG.txt) which the developer maintains. For every commit (or feature/hotfix branch merged) the developer may add one or more lines at the top of the file, creating a changelog summary. When this action gets called, it writes the version number with the date and time of the release at the top of the file.

ComposerJsonAction
------------------

[](#composerjsonaction)

Whether it is done as a best practice or needed by GitHub/Packagist/etc adding the version number to the composer.json when creating a new release is done automatically when you use this action.

Usage
-----

[](#usage)

Install the liip/RMT tool. See

Then install this extension by running:

```
composer require --dev marcohoutmandev/rmt-versioning

```

With the installation of the RMT tool, there is also a configuration file in the root of the project called '.rmt.yml'. Edit this file. Find the 'pre-release-action' part (there is usually two of them, one for the master branch and one default). Replace the existing standard actions with the ones you want to use from this extension. You are free to use any or all of them and even combine them with other (standard) RMT pre-release-actions. The file may look like this:

```
# BRANCH SPECIFIC CONFIG
#  On master, we override the general config
master:
    version-generator: semantic # More complex versionning (semantic)
    version-persister:
        vcs-tag:
            tag-prefix: ''         # No more prefix for tags
    pre-release-actions:
        vendor/marcohoutmandev/rmt-versioning/bin/UpdateVersionTxtAction.php: ~
        vendor/marcohoutmandev/rmt-versioning/bin/UpdateChangelogTxtAction.php: ~
        vendor/marcohoutmandev/rmt-versioning/bin/UpdateComposerJsonAction.php: ~
        vcs-commit: ~              # Commit the CHANGELOG

```

Then run the RMT command just like you are used to, but sit back and relax while the actions do all the manual work for you.

###  Health Score

42

—

FairBetter than 89% of packages

Maintenance82

Actively maintained with recent releases

Popularity12

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity57

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

Every ~0 days

Total

9

Last Release

97d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/473d20ba53f01cbeafab61e2f1891d191cb4e83c17e85de75bc4112097d83ef2?d=identicon)[marcohoutmandev](/maintainers/marcohoutmandev)

---

Top Contributors

[![marcohoutmandev](https://avatars.githubusercontent.com/u/261805244?v=4)](https://github.com/marcohoutmandev "marcohoutmandev (1 commits)")

---

Tags

versioningRMT

###  Code Quality

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/marcohoutmandev-rmt-versioning/health.svg)

```
[![Health](https://phpackages.com/badges/marcohoutmandev-rmt-versioning/health.svg)](https://phpackages.com/packages/marcohoutmandev-rmt-versioning)
```

###  Alternatives

[pragmarx/version

Take control over your Laravel app version

5921.2M2](/packages/pragmarx-version)[nikolaposa/version

Value Object that represents a SemVer-compliant version number.

1397.0M21](/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

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

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

73512.3k17](/packages/naneau-semver)[michalsn/minifier

Assets minification and versioning library for CodeIgniter 4.

5437.5k](/packages/michalsn-minifier)[vildanbina/laravel-versions

A Laravel package for managing model drafts.

333.7k](/packages/vildanbina-laravel-versions)

PHPackages © 2026

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