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)29.8k↓25%1[2 PRs](https://github.com/prudloff-insite/composer-dangling-locked-deps/pulls)1GPL-2.0-or-laterPHPCI passing

Since Jul 20Pushed 3mo 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 1mo ago

READMEChangelogDependencies (3)Versions (12)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

41

—

FairBetter than 89% of packages

Maintenance61

Regular maintenance activity

Popularity28

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 72% 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

567d 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] (7 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

[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)
