PHPackages                             humweb/composer-link - 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. humweb/composer-link

ActiveComposer-plugin[Utility &amp; Helpers](/categories/utility)

humweb/composer-link
====================

Adds ability to link local packages for development with composer

0.2.3(4y ago)024MITPHPPHP &gt;=7.0

Since Mar 30Pushed 3y agoCompare

[ Source](https://github.com/humweb/composer-link)[ Packagist](https://packagist.org/packages/humweb/composer-link)[ RSS](/packages/humweb-composer-link/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (9)Versions (11)Used By (0)

composer-link
=============

[](#composer-link)

[![phpunit](https://github.com/SanderSander/composer-link/actions/workflows/unit-tests.yml/badge.svg?branch=master)](https://github.com/SanderSander/composer-link/actions/workflows/unit-tests.yml/badge.svg?branch=master)[![Coverage Status](https://camo.githubusercontent.com/556ebcbbbd98972048e9848636b1feb1291d053c12799a1b011aa74184fb8ca4/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f53616e64657253616e6465722f636f6d706f7365722d6c696e6b2f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/SanderSander/composer-link?branch=master)[![Maintainability](https://camo.githubusercontent.com/dc301b37c3761bedea9316bcf16b420673cb1c260017ac6e2497c0fd231adcda/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f33383135653661626632656330653164346163382f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/SanderSander/composer-link/maintainability)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/9c91b40e6046980b88fe92ffb1e25d6e5e111e7032482a48d4cc7b56310dfab2/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f53616e64657253616e6465722f636f6d706f7365722d6c696e6b2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/SanderSander/composer-link/?branch=master)

Adds ability to link local packages in composer for development.

This plugin won't alter your `composer.json` or `composer.lock` file, while maintaining the composer abilities to manage/upgrade your packages.

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

[](#installation)

This plugin can be installed globally or per project

Globally

```
composer global require humweb/composer-link

```

Per project:

```
composer require --dev humweb/composer-link

```

Usage
-----

[](#usage)

The following three commands are made available by this plugin `link`, `unlink` and `linked`. When the plugin is installed globally you can prefix the commands with `global` as example `composer global linked`and install global packages.

To link a package you can use the `link` commands, you can also link a global package. When linked to a global package absolute paths are used, when using a relative path composer-link resolves it to the absolute path.

```
composer link ../path/to/package
composer global link ../path/to/package

```

It's also possible to use a wildcard in your path, note that this will install all packages found in the directory `../packages`If you don't want to link all the packages but only the ones originally installed you can pass the `--only-installed` flag.

```
composer link ../packages/*
composer link ../packages/* --only-installed

```

To unlink the package you can use the `unlink` command

```
composer unlink ../path/to/package
composer inlink ../packages/*
composer global link ../path/to/package

```

To see all linked packages in your project you can use the `linked` command

```
composer linked
composer global linked

```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 74.2% 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 ~5 days

Total

8

Last Release

1469d ago

PHP version history (2 changes)v0.1.0PHP &gt;=7.4

0.2.2PHP &gt;=7.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/8b536bae26e43306745d195a34b8dff510bc05419cdc3503f96c5cb3fd4e7239?d=identicon)[ryun](/maintainers/ryun)

---

Top Contributors

[![SanderSander](https://avatars.githubusercontent.com/u/6603255?v=4)](https://github.com/SanderSander "SanderSander (23 commits)")[![ryun](https://avatars.githubusercontent.com/u/227672?v=4)](https://github.com/ryun "ryun (8 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/humweb-composer-link/health.svg)

```
[![Health](https://phpackages.com/badges/humweb-composer-link/health.svg)](https://phpackages.com/packages/humweb-composer-link)
```

###  Alternatives

[vaimo/composer-patches

Applies a patch from a local or remote file to any package that is part of a given composer project. Patches can be defined both on project and on package level. Optional support for patch versioning, sequencing, custom patch applier configuration and patch command for testing/troubleshooting added patches.

2994.3M16](/packages/vaimo-composer-patches)[mglaman/composer-drupal-lenient

1317.4M15](/packages/mglaman-composer-drupal-lenient)[drupal/core-composer-scaffold

A flexible Composer project scaffold builder.

5341.9M446](/packages/drupal-core-composer-scaffold)[drupal/core-project-message

Adds a message after Composer installation.

2122.6M172](/packages/drupal-core-project-message)[olvlvl/composer-attribute-collector

A convenient and near zero-cost way to retrieve targets of PHP 8 attributes

184108.8k8](/packages/olvlvl-composer-attribute-collector)[lullabot/drainpipe

An automated build tool to allow projects to have a set standardized operations scripts.

41716.4k2](/packages/lullabot-drainpipe)

PHPackages © 2026

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