PHPackages                             malukenho/mcbumpface - 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. malukenho/mcbumpface

ActiveComposer-plugin[Utility &amp; Helpers](/categories/utility)

malukenho/mcbumpface
====================

Bumping into packages

1.2.0(3y ago)116714.7k↓22.4%8[2 PRs](https://github.com/malukenho/mcbumpface/pulls)20MITPHPPHP ^7.2 || ~8.0 || ~8.1 || ~8.2

Since Jun 20Pushed 2y ago5 watchersCompare

[ Source](https://github.com/malukenho/mcbumpface)[ Packagist](https://packagist.org/packages/malukenho/mcbumpface)[ GitHub Sponsors](https://github.com/malukenho)[ RSS](/packages/malukenho-mcbumpface/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (6)Versions (15)Used By (20)

🍂 McBumpface
============

[](#fallen_leaf-mcbumpface)

A simple tool to sync `composer.lock` and `composer.json` versions, resulting in a faster package dependencies resolution.

### Installing

[](#installing)

```
composer require --dev malukenho/mcbumpface

```

### How it works?

[](#how-it-works)

By looking at the `composer.lock` file which is (re)generated during `composer  install` or `composer update` we can replace the required version specified on `composer.json` file by the installed version specified on `composer.lock` file.

### Example

[](#example)

###### composer.json (before)

[](#composerjson-before)

```
{
    "require": {
        "malukenho/docheader": "^1.0.1"
    }
}
```

After a `composer update`, composer have installed version `^1.0.4`, so my `composer.json` will looks like the following:

###### composer.json (after)

[](#composerjson-after)

```
{
    "require": {
        "malukenho/docheader": "^1.0.4"
    }
}
```

### Configuration (optional)

[](#configuration-optional)

By adding an extra configuration to the projects `composer.json`, you can configure different behavior of the version bumping. The configuration can be added like this:

```
{
    "extra": {
        "mc-bumpface": {
            "stripVersionPrefixes": false,
            "keepVersionConstraintPrefix": false
        }
    }
}
```

The following configurations are available:

- [stripVersionPrefixes](#configuration-stripVersionPrefixes)
- [keepVersionConstraintPrefix](#configuration-keepVersionConstraintPrefix)

###### stripVersionPrefixes (default: false)

[](#stripversionprefixes-default-false)

By setting this parameter to `true`, `mcbumpface` will strip the `v` prefix from versions (in case they are tagged like this).

###### keepVersionConstraintPrefix (default: false)

[](#keepversionconstraintprefix-default-false)

By setting this parameter to `true`, `mcbumpface` will NOT replace the version constraint prefix.

Having a required version `~2.0` and installed `2.0.20` will replace the version constraint to `^2.0.20`.

###  Health Score

50

—

FairBetter than 96% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity52

Moderate usage in the ecosystem

Community32

Small or concentrated contributor base

Maturity83

Battle-tested with a long release history

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~142 days

Recently: every ~213 days

Total

13

Last Release

1176d ago

Major Versions

0.1.3 → 1.0.02020-01-07

1.1.5 → 2.0.x-dev2022-11-07

PHP version history (5 changes)0.1.0PHP ^7.1

1.0.0PHP ^7.2

1.1.3PHP ^7.2 || ~8.0

2.0.x-devPHP ~8.0.0 || ~8.1.0

1.2.0PHP ^7.2 || ~8.0 || ~8.1 || ~8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/7140a8c7b834b07674c6bd74d6cb75792522ceba17dfb1f347489083a0ba1c48?d=identicon)[malukenho](/maintainers/malukenho)

---

Top Contributors

[![malukenho](https://avatars.githubusercontent.com/u/3275172?v=4)](https://github.com/malukenho "malukenho (22 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (13 commits)")[![simPod](https://avatars.githubusercontent.com/u/327717?v=4)](https://github.com/simPod "simPod (6 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (4 commits)")[![bendavies](https://avatars.githubusercontent.com/u/625392?v=4)](https://github.com/bendavies "bendavies (2 commits)")[![Slamdunk](https://avatars.githubusercontent.com/u/152236?v=4)](https://github.com/Slamdunk "Slamdunk (1 commits)")[![boesing](https://avatars.githubusercontent.com/u/2189546?v=4)](https://github.com/boesing "boesing (1 commits)")[![fre5h](https://avatars.githubusercontent.com/u/815865?v=4)](https://github.com/fre5h "fre5h (1 commits)")[![icanhazstring](https://avatars.githubusercontent.com/u/883543?v=4)](https://github.com/icanhazstring "icanhazstring (1 commits)")[![renan](https://avatars.githubusercontent.com/u/28046?v=4)](https://github.com/renan "renan (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/malukenho-mcbumpface/health.svg)

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

###  Alternatives

[vaimo/composer-patches

Applies a patch from a local or remote file to any package that is part of a given composer project. Patches can be defined both on project and on package level. Optional support for patch versioning, sequencing, custom patch applier configuration and patch command for testing/troubleshooting added patches.

2994.3M16](/packages/vaimo-composer-patches)[mglaman/composer-drupal-lenient

1317.4M15](/packages/mglaman-composer-drupal-lenient)[drupal/core-composer-scaffold

A flexible Composer project scaffold builder.

5341.9M446](/packages/drupal-core-composer-scaffold)[drupal/core-project-message

Adds a message after Composer installation.

2122.6M172](/packages/drupal-core-project-message)[olvlvl/composer-attribute-collector

A convenient and near zero-cost way to retrieve targets of PHP 8 attributes

184108.8k8](/packages/olvlvl-composer-attribute-collector)[lullabot/drainpipe

An automated build tool to allow projects to have a set standardized operations scripts.

41716.4k2](/packages/lullabot-drainpipe)

PHPackages © 2026

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