PHPackages                             phpcq/branch-alias-validation - 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. phpcq/branch-alias-validation

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

phpcq/branch-alias-validation
=============================

Validation tool to ensure that all branches are ahead of the most recent tag.

1.3.1(5y ago)037.4k1[1 issues](https://github.com/phpcq/branch-alias-validation/issues)4MITPHPPHP ^5.6 | ^7.1

Since Jan 11Pushed 5y ago4 watchersCompare

[ Source](https://github.com/phpcq/branch-alias-validation)[ Packagist](https://packagist.org/packages/phpcq/branch-alias-validation)[ GitHub Sponsors](https://github.com/discordier)[ GitHub Sponsors](https://github.com/dmolineus)[ RSS](/packages/phpcq-branch-alias-validation/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (8)Used By (4)

[![Version](https://camo.githubusercontent.com/18a47a3fe38575cf57b03d5caa35ae264ffce569b4ac44b558b4778e1249c3dd/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f70687063712f6272616e63682d616c6961732d76616c69646174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/phpcq/branch-alias-validation)[![Stable Build Status](https://camo.githubusercontent.com/3689a446f2e5b6f4dc0bbf04da8aa2cacf2d121ff4a732099b16600bb9ed143a/687474703a2f2f696d672e736869656c64732e696f2f7472617669732f70687063712f6272616e63682d616c6961732d76616c69646174696f6e2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/phpcq/branch-alias-validation)[![Upstream Build Status](https://camo.githubusercontent.com/5c9299e2c8d558106e5eac1637a36026a26b36d1591e9e68146463c45e3c36f6/687474703a2f2f696d672e736869656c64732e696f2f7472617669732f70687063712f6272616e63682d616c6961732d76616c69646174696f6e2f646576656c6f702e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/phpcq/branch-alias-validation)[![License](https://camo.githubusercontent.com/a89f931e2bf39a628ad12461db07b9e83fbca7497504c14dffc0f3c862889910/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f70687063712f6272616e63682d616c6961732d76616c69646174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://github.com/phpcq/branch-alias-validation/blob/master/LICENSE)[![Downloads](https://camo.githubusercontent.com/890476d551fcf32a4a37cbb76858d8c6dd3bee1817480b8e40b6713874dc0046/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f70687063712f6272616e63682d616c6961732d76616c69646174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/phpcq/branch-alias-validation)

Validate branch alias against latest tag.
=========================================

[](#validate-branch-alias-against-latest-tag)

This is useful to ensure that no branch alias is "behind" the most recent tag on the given branch for the alias.

Usage
-----

[](#usage)

Add to your `composer.json` in the `require-dev` section:

```
"phpcq/branch-alias-validation": "~1.0"

```

Call the binary:

```
./vendor/bin/validate-branch-alias.php

```

Optionally pass the root of the git repository to check:

```
./vendor/bin/validate-branch-alias.php /path/to/some/git/repository

```

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 65.1% 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 ~346 days

Recently: every ~383 days

Total

7

Last Release

2068d ago

PHP version history (3 changes)1.0.0PHP &gt;=5.3.4

1.2.0PHP ^5.4 | ^7.0

1.3.0PHP ^5.6 | ^7.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/44649522?v=4)[xtra](/maintainers/xtra)[@xtra](https://github.com/xtra)

![](https://avatars.githubusercontent.com/u/8189209?v=4)[netzmacht](/maintainers/netzmacht)[@netzmacht](https://github.com/netzmacht)

---

Top Contributors

[![discordier](https://avatars.githubusercontent.com/u/940331?v=4)](https://github.com/discordier "discordier (28 commits)")[![baumannsven](https://avatars.githubusercontent.com/u/2493263?v=4)](https://github.com/baumannsven "baumannsven (11 commits)")[![tristanlins](https://avatars.githubusercontent.com/u/343404?v=4)](https://github.com/tristanlins "tristanlins (4 commits)")

---

Tags

tool

### Embed Badge

![Health badge](/badges/phpcq-branch-alias-validation/health.svg)

```
[![Health](https://phpackages.com/badges/phpcq-branch-alias-validation/health.svg)](https://phpackages.com/packages/phpcq-branch-alias-validation)
```

###  Alternatives

[coenjacobs/mozart

Composes all dependencies as a package inside a WordPress plugin

4723.6M20](/packages/coenjacobs-mozart)[php-soap/wsdl

Deals with WSDLs

173.5M12](/packages/php-soap-wsdl)[phel-lang/phel-lang

Phel is a functional programming language that compiles to PHP

4743.5k10](/packages/phel-lang-phel-lang)[symfony/ai-bundle

Integration bundle for Symfony AI components

30282.3k6](/packages/symfony-ai-bundle)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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