PHPackages                             guanguans/monorepo-builder-worker - 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. [Testing &amp; Quality](/categories/testing)
4. /
5. guanguans/monorepo-builder-worker

ActiveLibrary[Testing &amp; Quality](/categories/testing)

guanguans/monorepo-builder-worker
=================================

A set of additional release workers for symplify/monorepo-builder.

3.1.2(1mo ago)129.3k↑637.5%11MITPHPPHP &gt;=8.2CI passing

Since Jul 18Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/guanguans/monorepo-builder-worker)[ Packagist](https://packagist.org/packages/guanguans/monorepo-builder-worker)[ Docs](https://github.com/guanguans/monorepo-builder-worker)[ Fund](https://guanguans.github.io/sponsors)[ RSS](/packages/guanguans-monorepo-builder-worker/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (121)Versions (51)Used By (11)

monorepo-builder-worker
=======================

[](#monorepo-builder-worker)

[简体中文](README-zh_CN.md) | [ENGLISH](README.md)

Note

A set of additional release workers for [symplify/monorepo-builder](https://github.com/symplify/monorepo-builder).

[![tests](https://github.com/guanguans/monorepo-builder-worker/actions/workflows/tests.yml/badge.svg)](https://github.com/guanguans/monorepo-builder-worker/actions/workflows/tests.yml)[![php-cs-fixer](https://github.com/guanguans/monorepo-builder-worker/actions/workflows/php-cs-fixer.yml/badge.svg)](https://github.com/guanguans/monorepo-builder-worker/actions/workflows/php-cs-fixer.yml)[![codecov](https://camo.githubusercontent.com/f4fed59dba98400e3f381e4220b0dcc2c2cf614c31455e22d95c3b6fe40fa7c1/68747470733a2f2f636f6465636f762e696f2f67682f6775616e6775616e732f6d6f6e6f7265706f2d6275696c6465722d776f726b65722f67726170682f62616467652e7376673f746f6b656e3d3052746753476f6d344b)](https://codecov.io/gh/guanguans/monorepo-builder-worker)[![Latest Stable Version](https://camo.githubusercontent.com/6aed18f2b24427abca4011f3118757c4257b72549778723c349c26ce4b912ff2/68747470733a2f2f706f7365722e707567782e6f72672f6775616e6775616e732f6d6f6e6f7265706f2d6275696c6465722d776f726b65722f76)](https://packagist.org/packages/guanguans/monorepo-builder-worker)[![GitHub release (with filter)](https://camo.githubusercontent.com/b3d4dc9c8ab06712f315494c2ea70ad33359d542f00e46d186c5677ddff72d14/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f6775616e6775616e732f6d6f6e6f7265706f2d6275696c6465722d776f726b6572)](https://github.com/guanguans/monorepo-builder-worker/releases)[![Total Downloads](https://camo.githubusercontent.com/723cdc216a77032ad2f7d923484b140fb582040d5fd4de9b2b41c9a2e0c77757/68747470733a2f2f706f7365722e707567782e6f72672f6775616e6775616e732f6d6f6e6f7265706f2d6275696c6465722d776f726b65722f646f776e6c6f616473)](https://packagist.org/packages/guanguans/monorepo-builder-worker)[![License](https://camo.githubusercontent.com/fa2b30ed6f4f0d789bdaad33329865a2ecc1d4d9bff239f6f32b78059d6d2602/68747470733a2f2f706f7365722e707567782e6f72672f6775616e6775616e732f6d6f6e6f7265706f2d6275696c6465722d776f726b65722f6c6963656e7365)](https://packagist.org/packages/guanguans/monorepo-builder-worker)

Requirement
-----------

[](#requirement)

- PHP &gt;= 8.2

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

[](#installation)

```
composer require guanguans/monorepo-builder-worker --dev --ansi -v
```

Usage
-----

[](#usage)

### Examples

[](#examples)

- [🧐 Releases](https://github.com/guanguans/monorepo-builder-worker/releases)
- [🧐 CHANGELOG.md](CHANGELOG.md)

### In your `monorepo-builder` [configuration](monorepo-builder.php) register workers

[](#in-your-monorepo-builder-configuration-register-workers)

```
use Guanguans\MonorepoBuilderWorker\ReleaseWorker\CreateGithubReleaseReleaseWorker;
use Guanguans\MonorepoBuilderWorker\ReleaseWorker\UpdateChangelogViaGoReleaseWorker;
use Guanguans\MonorepoBuilderWorker\Support\EnvironmentChecker;
use Symplify\MonorepoBuilder\Config\MBConfig;

return static function (MBConfig $mbConfig): void {
    $mbConfig->workers($workers = [
        UpdateChangelogViaGoReleaseWorker::class,
        CreateGithubReleaseReleaseWorker::class,
        // Other release workers...
    ]);

    EnvironmentChecker::checks($workers);
};
```

### Run command

[](#run-command)

```
╰─ vendor/bin/monorepo-builder release patch --ansi -v                                                              ─╯

 ! [NOTE] Checking environment...

 ! [NOTE] Running process: git-chglog -v

 ! [NOTE] Running process: gh auth status

 ! [NOTE] Running process: gh release list --limit 1

 ! [NOTE] Environment checked!

 ! [NOTE] Running process: git tag -l --sort=committerdate

1/4) Add local tag "2.0.1"
==========================

class: Symplify\MonorepoBuilder\Release\ReleaseWorker\TagVersionReleaseWorker

 ! [NOTE] Running process: git add . && git commit -m "prepare release" && git push origin "main"

 ! [NOTE] Running process: git tag 2.0.1

2/4) Push "2.0.1" tag to remote repository
==========================================

class: Symplify\MonorepoBuilder\Release\ReleaseWorker\PushTagReleaseWorker

 ! [NOTE] Running process: git push --tags

3/4) Update changelog "2.0.1 (2025-04-07)"
==========================================

class: Guanguans\MonorepoBuilderWorker\GoUpdateChangelogReleaseWorker

 ! [NOTE] Running process: git-chglog --output CHANGELOG.md

 ! [NOTE] Running process: git add CHANGELOG.md && git commit -m "chore(release): 2.0.1" --no-verify && git push

 ! [NOTE] Running process: git-chglog 2.0.1

4/4) Create github release "2.0.1"
==================================

class: Guanguans\MonorepoBuilderWorker\CreateGithubReleaseWorker

 ! [NOTE] Running process: gh release create 2.0.1 --notes
 !        ## [2.0.1] - 2025-04-07
 !        ### ✨ Features
 !        - **rector:** Add AddDocCommentsToDeclareRector functionality ([9d35c08](https://github.com/guanguans/monorepo-builder-worker/commit/9d35c08))
 !
 !        ### 🐞 Bug Fixes
 !        - **EnvironmentChecker:** Improve namespace prefix handling ([7437c0e](https://github.com/guanguans/monorepo-builder-worker/commit/7437c0e))
 !        - **config:** Enable final flags in various methods ([d25cde1](https://github.com/guanguans/monorepo-builder-worker/commit/d25cde1))
 !        - **scripts:** Update Namespace Prefix Fix Method Reference ([aae90a1](https://github.com/guanguans/monorepo-builder-worker/commit/aae90a1))
 !
 !        ### 💅 Code Refactorings
 !        - apply rector ([695b1c4](https://github.com/guanguans/monorepo-builder-worker/commit/695b1c4))
 !        - **CreateGithubReleaseReleaseWorker:** Simplify changelog retrieval ([032bb46](https://github.com/guanguans/monorepo-builder-worker/commit/032bb46))
 !        - **core:** Enhance configuration and class handling ([ffe041c](https://github.com/guanguans/monorepo-builder-worker/commit/ffe041c))
 !        - **helpers:** Optimize class loading logic in classes() function ([16a7ad1](https://github.com/guanguans/monorepo-builder-worker/commit/16a7ad1))
 !
 !        ### ✅ Tests
 !        - Add initial test files and functionality ([2beb107](https://github.com/guanguans/monorepo-builder-worker/commit/2beb107))
 !        - **Helpers:** Add test for classes retrieval ([f965e62](https://github.com/guanguans/monorepo-builder-worker/commit/f965e62))
 !
 !        ### 🤖 Continuous Integrations
 !        - **tests:** Check and fix namespace prefix in workflow ([f465092](https://github.com/guanguans/monorepo-builder-worker/commit/f465092))
 !        - **workflows:** Fix monorepo builder prefix command ([d449138](https://github.com/guanguans/monorepo-builder-worker/commit/d449138))
 !
 !
 !        [2.0.1]: https://github.com/guanguans/monorepo-builder-worker/compare/2.0.0...2.0.1

 [OK] Version "2.0.1" is now released!

```

Composer scripts
----------------

[](#composer-scripts)

```
composer checks:required
composer php-cs-fixer:fix
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [guanguans](https://github.com/guanguans)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

55

—

FairBetter than 98% of packages

Maintenance89

Actively maintained with recent releases

Popularity29

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 73.7% 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 ~20 days

Total

49

Last Release

54d ago

Major Versions

0.6.0 → 1.0.02023-07-19

1.5.0 → 2.0.02025-04-05

2.2.0 → 3.0.02026-01-08

PHP version history (3 changes)v0.1.0PHP &gt;=7.3

2.0.0PHP &gt;=8.0

3.0.0PHP &gt;=8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/a49e4a0625bdf47c4e2924dcf07a053538d0c3a1e9287e8d6bfe68ed4017aa6f?d=identicon)[guanguans](/maintainers/guanguans)

---

Top Contributors

[![guanguans](https://avatars.githubusercontent.com/u/22309277?v=4)](https://github.com/guanguans "guanguans (311 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (69 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (42 commits)")

---

Tags

changeloggitmonoreporeleasesymplifyworkerworkflowtestingdevstatic analysisreleaseworkflowhistorygittagworkercommitchangelogmonorepoconventionalconventional-changelogconventional-commitsymplify

###  Code Quality

TestsPest

Static AnalysisPHPStan, Rector

Code StyleECS

Type Coverage Yes

### Embed Badge

![Health badge](/badges/guanguans-monorepo-builder-worker/health.svg)

```
[![Health](https://phpackages.com/badges/guanguans-monorepo-builder-worker/health.svg)](https://phpackages.com/packages/guanguans-monorepo-builder-worker)
```

###  Alternatives

[marcocesarato/php-conventional-changelog

Generate changelogs and release notes from a project's commit messages and metadata and automate versioning with semver.org and conventionalcommits.org

2511.3M109](/packages/marcocesarato-php-conventional-changelog)[phpstan/phpstan

PHPStan - PHP Static Analysis Tool

13.9k341.8M29.6k](/packages/phpstan-phpstan)[orchestra/testbench

Laravel Testing Helper for Packages Development

2.2k39.1M32.1k](/packages/orchestra-testbench)[orchestra/testbench-core

Testing Helper for Laravel Development

27043.7M310](/packages/orchestra-testbench-core)[guanguans/ai-commit

Automagically generate conventional git commit message with AI. - 使用 AI 自动生成约定式 git 提交信息。

39231.2k10](/packages/guanguans-ai-commit)[staabm/phpstan-dba

2912.3M2](/packages/staabm-phpstan-dba)

PHPackages © 2026

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