PHPackages                             insite/composer-dangling-locked-deps - 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. insite/composer-dangling-locked-deps

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

insite/composer-dangling-locked-deps
====================================

Detect dangling Composer locked dependencies

0.4.1(1y ago)210.2k↓71.9%1[2 PRs](https://github.com/prudloff-insite/composer-dangling-locked-deps/pulls)1GPL-2.0-or-laterPHPCI failing

Since Jul 20Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/prudloff-insite/composer-dangling-locked-deps)[ Packagist](https://packagist.org/packages/insite/composer-dangling-locked-deps)[ RSS](/packages/insite-composer-dangling-locked-deps/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (3)Versions (14)Used By (1)

Composer Dangling Locked Deps
=============================

[](#composer-dangling-locked-deps)

This Composer plugin allows you to detect dangling locked dependencies.

That is dependencies that are present in your `composer.lock` file but are not actually required by your project or one of its dependencies.

This can happen, for example, when merging changes to `composer.lock` with conflicts; a dependency that has been removed from `composer.json`will not be correctly removed from `composer.lock` and will continue to be installed.

Install
-------

[](#install)

```
composer require insite/composer-dangling-locked-deps --dev
```

Usage
-----

[](#usage)

```
composer dangling-locked-deps
```

You can then call `composer remove` on those dependencies.

GrumPHP task
------------

[](#grumphp-task)

This package also provides a [GrumPHP](https://github.com/phpro/grumphp) task.

You can add it to your config like this:

```
---
parameters:
  extensions:
    - ComposerDanglingLockedDeps\GrumPHP\Loader
  tasks:
    composer_dangling_locked_deps: ~
```

###  Health Score

43

—

FairBetter than 89% of packages

Maintenance67

Regular maintenance activity

Popularity28

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 64.3% 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 ~195 days

Recently: every ~360 days

Total

9

Last Release

615d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/87d4515168f3d16dcaf23af7184edbe8ef073c99dddd36b3ca5b2953ba415e03?d=identicon)[prudloff-insite](/maintainers/prudloff-insite)

![](https://www.gravatar.com/avatar/9b241b88818e2034c1257f4a425564231c89ded760ecf239a25e23804de55715?d=identicon)[gaelg](/maintainers/gaelg)

---

Top Contributors

[![prudloff-insite](https://avatars.githubusercontent.com/u/50333926?v=4)](https://github.com/prudloff-insite "prudloff-insite (18 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (10 commits)")

### Embed Badge

![Health badge](/badges/insite-composer-dangling-locked-deps/health.svg)

```
[![Health](https://phpackages.com/badges/insite-composer-dangling-locked-deps/health.svg)](https://phpackages.com/packages/insite-composer-dangling-locked-deps)
```

###  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.

5445.2M565](/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)
