PHP Architect · Vol 25, Issue 4 · April 2026
Splitting the Repo - Git Fission
Managing a new PHP project often begins with a "monorepo" approach for the sake of convenience and rapid development. However, as the Spacetraders.io client evolved to include a CLI, a Web GUI, and a suite of REST clients, the initial simplicity has turned into a tangled web of dependencies. It's time to improve maintainability and allow for easier collaboration with some "Git Fission"—splitting our repository while preserving the commit history. > > This month, let's see a technical roadmap you can adapt to deconstruct a monolithic repository into more modular components. I'll show you how to use git-filter-repo, walk through renaming namespaces, and see how to use a newly split component as a dependency in Composer.
The full article is in PHP Architect Vol 25, Issue 4. Subscribe to read it and every new issue.