symplify/monorepo-builder
Tools for PHP monorepos: scaffold a repo, merge package composer.json files into the root, validate shared dependency versions, bump inter-package constraints, propagate versions back to packages, and automate releases via a single monorepo-builder.php config.
Adopt when:
Look elsewhere if:
composer-merge-plugin, custom scripts)."This package lets us consolidate our PHP packages into a single monorepo, cutting release time by 40% and reducing dependency conflicts. It automates version management, merges package configs, and enforces consistency—like GitHub’s monorepo tools but for PHP. This aligns with our goal of [faster iterations/scalability/cost savings] while keeping our stack open-source. The MIT license and active maintenance (last release: May 2026) make it a low-risk choice."
*"Monorepo Builder solves our pain points with:
composer.json duplication or version hell.release) handles version bumps, changelogs, and tags across packages.composer.json reduces pipeline steps, and propagate ensures changes ripple correctly.monorepo-builder.php config, but the long-term gains outweigh it. We can pilot it with [Package X] to validate before full adoption."**"This tool turns our messy multi-repo setup into a clean monorepo with minimal friction:
packages/ structure in 1 command.composer.json files into the root (no more copying require sections).release v1.0.
Bonus: It validates versions to prevent breaking changes. Let’s try it on [Project Y] and see how it feels!"*How can I help you explore Laravel packages today?