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

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

henzeb/composer-link
====================

0.0.3-alpha(5y ago)7113.8k↓70.8%1[1 issues](https://github.com/henzeb/composer-link/issues)2MITPHPPHP ^7.4|^8.0

Since Oct 22Pushed 5y ago1 watchersCompare

[ Source](https://github.com/henzeb/composer-link)[ Packagist](https://packagist.org/packages/henzeb/composer-link)[ RSS](/packages/henzeb-composer-link/feed)WikiDiscussions main Synced 2d ago

READMEChangelogDependencies (2)Versions (4)Used By (2)

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

[](#composer-link)

Simplifies development of libraries by linking them into your project. loosely based on npm link and [ro0NL/composer-link](https://github.com/ro0NL/composer-link), which is currently no longer updated and has some dependency errors in some cases.

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

[](#installation)

If you want to install this globally:

```
composer global require henzeb/composer-link

```

If you want to install this per project:

```
composer require henzeb/composer-link

```

Usage
-----

[](#usage)

Every link made will be transformed to a relative path. This is useful in situations where you want to test inside a docker container or virtual machine.

### Link

[](#link)

To link a local package you must be sure to have it required first. After that you can just point to the location where your package resides:

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

```

### Unlink

[](#unlink)

### Linking/unlinking previously linked packages

[](#linkingunlinking-previously-linked-packages)

If you have linked a package before, composer-link has stored the path inside a file called `linked.json`. Whenever you are not developing and need the package version that was actually installed, just call the following:

```
composer unlink

```

And when you want to continue developing

```
composer link

```

you can add the package name to specify a specific package if needed.

```
composer link yourname/your-package

```

### configuration

[](#configuration)

This package requires no configuration and works out of the box. You can however change the location/filename of this file by adding `link` with the path where you want the configuration to be stored inside the `extra` parameter of your composer.json of your project.

```
...
"extra": {
    "link":"path/to/your/linked.json"
},
...

```

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity37

Limited adoption so far

Community12

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

Every ~25 days

Total

3

Last Release

2030d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/15928532?v=4)[henzeb](/maintainers/henzeb)[@henzeb](https://github.com/henzeb)

---

Top Contributors

[![henze-housepedia](https://avatars.githubusercontent.com/u/72211615?v=4)](https://github.com/henze-housepedia "henze-housepedia (3 commits)")

---

Tags

composer-pluginlinkpackage-development

### Embed Badge

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

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

###  Alternatives

[symfony/runtime

Enables decoupling PHP applications from global state

74798.8M1.0k](/packages/symfony-runtime)[drupal/core-composer-scaffold

A flexible Composer project scaffold builder.

5344.1M564](/packages/drupal-core-composer-scaffold)[drupal/core-project-message

Adds a message after Composer installation.

2124.7M203](/packages/drupal-core-project-message)[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.

3014.6M26](/packages/vaimo-composer-patches)[sandersander/composer-link

Adds ability to link local packages for development with composer

98457.9k](/packages/sandersander-composer-link)[phpro/grumphp-shim

GrumPHP Phar distribution

294.7M340](/packages/phpro-grumphp-shim)

PHPackages © 2026

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