PHPackages                             tmdk/composer-workspaces-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. tmdk/composer-workspaces-plugin

ActiveComposer-plugin

tmdk/composer-workspaces-plugin
===============================

Workspaces plugin for Composer

2.0.1(3y ago)91096[2 issues](https://github.com/tmdk/composer-workspaces-plugin/issues)MITPHPPHP &gt;=7.1

Since May 1Pushed 3y ago1 watchersCompare

[ Source](https://github.com/tmdk/composer-workspaces-plugin)[ Packagist](https://packagist.org/packages/tmdk/composer-workspaces-plugin)[ RSS](/packages/tmdk-composer-workspaces-plugin/feed)WikiDiscussions main Synced today

READMEChangelog (2)Dependencies (4)Versions (6)Used By (0)

Workspaces Plugin for Composer
==============================

[](#workspaces-plugin-for-composer)

This composer plugin enables you to work with a monorepo containing multiple composer packages in a way similar to [Yarn Workspaces](https://yarnpkg.com/lang/en/docs/workspaces/).

Requirements
------------

[](#requirements)

- PHP 7.1 or above
- Composer 2

### Composer v1 support

[](#composer-v1-support)

Starting from version 2.x of this plugin, composer v1 is no longer supported. If you do need composer 1 support, please use the 1.x version of the plugin. Please note that version 1 will not receive any updates except for security fixes.

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

[](#installation)

Add `tmdk/composer-workspaces-plugin` to your project:

```
composer require --dev tmdk/composer-workspaces-plugin=^2.0.0
```

Usage
-----

[](#usage)

The `workspaces:init` command will prompt you to configure your workspace paths:

```
composer workspaces:init
```

The plugin scans all configured paths for composer packages. To bootstrap all found workspace packages, run `workspaces:bootstrap`. You can rerun this command any time you add another workspace package.

```
composer workspaces:bootstrap
```

After bootstrapping your packages, you can run composer commands in the context of a specific package with the `workspace` command.

For example, if you have two workspace packages, `acme/foo` and `acme/bar`, and you want to add `acme/bar` as a dependency of `acme/foo`:

```
composer workspace acme/foo require acme/bar
```

Use `workspaces:list` to list all available workspace packages:

```
composer workspaces:list
```

Todo
----

[](#todo)

- Add tests.
- Add feature to centralize dependency version management.

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance16

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% 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 ~318 days

Total

5

Last Release

1292d ago

Major Versions

1.x-dev → 2.0.02022-04-25

PHP version history (2 changes)1.0.0-alpha1PHP ^7.1

2.0.1PHP &gt;=7.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/25ddb3567dc50c66226060bf3be9ea79e580f8c16852a021f2b0c007af75d06f?d=identicon)[tmdk](/maintainers/tmdk)

---

Top Contributors

[![tmdk](https://avatars.githubusercontent.com/u/690621?v=4)](https://github.com/tmdk "tmdk (8 commits)")[![xaviemirmon](https://avatars.githubusercontent.com/u/5609840?v=4)](https://github.com/xaviemirmon "xaviemirmon (7 commits)")[![azt3k](https://avatars.githubusercontent.com/u/1156443?v=4)](https://github.com/azt3k "azt3k (1 commits)")

---

Tags

composercomposer-pluginmonorepoworkspaces

### Embed Badge

![Health badge](/badges/tmdk-composer-workspaces-plugin/health.svg)

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

###  Alternatives

[drush/drush

Drush is a command line shell and scripting interface for Drupal, a veritable Swiss Army knife designed to make life easier for those of us who spend some of our working hours hacking away at the command prompt.

2.4k57.4M680](/packages/drush-drush)[simplesamlphp/simplesamlphp

A PHP implementation of a SAML 2.0 service provider and identity provider.

1.1k12.4M193](/packages/simplesamlphp-simplesamlphp)[silverstripe/framework

The SilverStripe framework

7213.5M2.5k](/packages/silverstripe-framework)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

728272.9k17](/packages/civicrm-civicrm-core)[lucidarch/lucid

An architecture for scalable software.

326307.6k2](/packages/lucidarch-lucid)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)

PHPackages © 2026

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