PHPackages                             greencape/monorepo - 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. greencape/monorepo

ActiveProject[Utility &amp; Helpers](/categories/utility)

greencape/monorepo
==================

This tool is a partial replacement for git commands that utilizes `git-subtree` to manage monorepos.

1.0.1(3y ago)05MITPHP

Since Aug 5Pushed 3y ago1 watchersCompare

[ Source](https://github.com/GreenCape/monorepo)[ Packagist](https://packagist.org/packages/greencape/monorepo)[ RSS](/packages/greencape-monorepo/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)DependenciesVersions (2)Used By (0)

Monorepo CLI
============

[](#monorepo-cli)

This tool is a partial replacement for git commands that utilizes `git-subtree` to manage monorepos.

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

[](#installation)

Commands
--------

[](#commands)

---

### mono init

[](#mono-init)

Initialize a fresh project. A local git repository is created with an empty initial commit. You do not need to initialize projects that already are under git and have a clean working tree.

**Synopsis**

```
$ mono init
```

---

### mono add

[](#mono-add)

Add (create, import) a subproject named `` for the repository at `` stored in ``.

**Synopsis**

```
$ mono add [--name=]
```

---

### mono split

[](#mono-split)

Turn the content of `` into a subproject named `` with its own repository at ``.

**Synopsis**

```
$ mono split --dir=
```

---

### mono rename

[](#mono-rename)

Rename the subproject named `` to ``. All configuration settings for the subproject are updated.

**Synopsis**

```
$ mono rename
```

---

### mono merge

[](#mono-merge)

Integrate the subproject named `` into the main project. All configuration settings for the subproject are removed.

**Synopsis**

```
$ mono merge
```

---

### mono remove

[](#mono-remove)

Remove the subproject named ``. All configuration settings for the subproject are removed.

**Synopsis**

```
$ mono remove
```

---

### mono pull

[](#mono-pull)

Fetch and merge recent changes up to `` into the `` subproject. This does not remove your own local changes; it just merges those changes into the latest ``. With `--squash`, creates only one commit that contains all the changes, rather than merging in the entire history.

If you use `--squash`, the merge direction does not always have to be forward; you can use this command to go back in time from v2.5 to v2.4, for example. If your merge introduces a conflict, you can resolve it in the usual ways.

**Synopsis**

```
$ mono pull [--squash|--no-squash]  []
```

---

### mono push

[](#mono-push)

Push the subproject named `` to the configured repository and ``. This can be used to push your subproject to different branches of the remote repository.

**Synopsis**

```
$ mono push  []
```

---

Also see

-
-
-
-

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

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

Unknown

Total

1

Last Release

1374d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/84f7f05685e84e3fe971d8d005bb74e766204799c50a7b45036af27436cecddc?d=identicon)[GreenCape](/maintainers/GreenCape)

---

Top Contributors

[![nibra](https://avatars.githubusercontent.com/u/827605?v=4)](https://github.com/nibra "nibra (22 commits)")

### Embed Badge

![Health badge](/badges/greencape-monorepo/health.svg)

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

###  Alternatives

[philipnewcomer/acf-unique-id-field

An ACF field which generates a unique ID value, intended for use in ACF Repeaters

4726.7k](/packages/philipnewcomer-acf-unique-id-field)

PHPackages © 2026

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