PHPackages                             wannabe-pro/composer-release-plugin - 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. wannabe-pro/composer-release-plugin

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

wannabe-pro/composer-release-plugin
===================================

Composer package release builder tool

0.2.1(4y ago)0513MITPHPPHP &gt;=5.6

Since Sep 27Pushed 4y ago1 watchersCompare

[ Source](https://github.com/wannabe-pro/composer-release-plugin)[ Packagist](https://packagist.org/packages/wannabe-pro/composer-release-plugin)[ Docs](https://github.com/wannabe-pro/composer-release-plugin)[ RSS](/packages/wannabe-pro-composer-release-plugin/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)Dependencies (4)Versions (7)Used By (3)

Composer plugin that allows generate and update builds witch package.

When installed, this plugin will look for a "build-plugin" ("build-plugin" for "-dev" mode) key in the composer configuration's "extra" section. The value for this key is a set of options configuring the plugin.

Configuration value is named list of build targets names. For every name specified:

- "builder" - the builder class name, it's required attribute of building configuration;
- "composer" - the composer package json for specific build, this may be a file name in package or infile-fragment;
- "map" - the rules set for file mapping in build target.

Plugin duplicate composer install and update actions for shadow copy of package on virtual path used specific composer package of build if is set. After that action plugin map files in virtual patch and give it iterator for specified builder by name.

```
{
    "require": {
        "wanna-be-pro/composer-release": "*"
    },
    "extra": {
        "build-plugin": {
            "ProductionBuildTargetName": {
                "builder": "SpecificBuilderName",
                "composer": "SpecificComposerPackage",
                "mapper": "SpecificFilesMapRules"
            }
        },
        "build-plugin-dev": {
            "DevelopmentBuildTargetName": {
                "builder": "SpecificBuilderName",
                "composer": "SpecificComposerJson",
                "mapper": "SpecificFilesMapRules"
            }
        }
    }
}
```

Mapper rule check source file relative path and apply template name for it. If template name not set or false then its exclude file from release. By default template name equivalent source and all files will be excluded if not otherwise.

```
{
    "/^README.md/": true,
    "/(.*)\\.php$/": "$1.inc",
    "/(^|\\/)\\./": false
}
```

This package preset builder named `copy` for simple copy files. All builders will extend `WannaBePro\Composer\Plugin\Release\Builder` and registered by `WannaBePro\Composer\Plugin\Release\Plugin::addBuilder($name, $builder)` in composer-plugin.

Mapper allow external rules file to manipulate of targets. Set mapper key as numeric value and napper value as source file name. This rule file accept `TargetIterator` as `$iterator` var. You may append iterator of new targets for builder as `$iterator->getInnerIterator()->append()`. Use `FiltredFile` as items for disable another filtration rules on this files.

Mapper rules allow config object to setup stream options.

```
{
    "/^.*\\.php$/": {
        "result": "/cp1251/$0",
        "config": {
            "context": {
                "proxy": "tcp://squid.example.com:8000"
            },
            "filters": ["convert.iconv.utf-8.cp1251"]
        }
    }
}
```

Configuration of `context` and `filters` by default apply for build source stream.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity47

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

Total

5

Last Release

1726d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a65625dd6c39c967b7ba30f0ec54c67c13fe5d0a6af9008c440b90f25f1689dd?d=identicon)[lar-dragon](/maintainers/lar-dragon)

---

Top Contributors

[![lar-dragon](https://avatars.githubusercontent.com/u/7447335?v=4)](https://github.com/lar-dragon "lar-dragon (29 commits)")

---

Tags

releasemakebuildpack

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/wannabe-pro-composer-release-plugin/health.svg)

```
[![Health](https://phpackages.com/badges/wannabe-pro-composer-release-plugin/health.svg)](https://phpackages.com/packages/wannabe-pro-composer-release-plugin)
```

###  Alternatives

[jean85/pretty-package-versions

A library to get pretty versions strings of installed dependencies

1.3k289.5M62](/packages/jean85-pretty-package-versions)[phing/phing

PHing Is Not GNU make; it's a PHP project build system or build tool based on Apache Ant.

1.2k21.7M870](/packages/phing-phing)[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.3M14](/packages/vaimo-composer-patches)[liip/rmt

Release Management Tool: a handy tool to help releasing new version of your software

457448.7k73](/packages/liip-rmt)[trafficcophp/bytebuffer

Node.js inspired byte stream buffer for PHP.

33437.2k17](/packages/trafficcophp-bytebuffer)[phpinnacle/buffer

PHPinnacle binary buffer implementation

2493.7k10](/packages/phpinnacle-buffer)

PHPackages © 2026

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