PHPackages                             backendtea/undepend - 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. backendtea/undepend

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

backendtea/undepend
===================

Detects orphaned dependencies in your composer.json

0.1.0(6y ago)1871[1 issues](https://github.com/BackEndTea/undepend/issues)[1 PRs](https://github.com/BackEndTea/undepend/pulls)MITPHPPHP ^7.3CI passing

Since Feb 28Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/BackEndTea/undepend)[ Packagist](https://packagist.org/packages/backendtea/undepend)[ RSS](/packages/backendtea-undepend/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)Dependencies (5)Versions (3)Used By (0)

Undepend
========

[](#undepend)

Undepend lets you find orphaned dependencies in your composer lock file

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

[](#installation)

Installation is done trough [composer](https://getcomposer.org/)

```
$ composer require --dev backendtea/undepend

```

Usage
-----

[](#usage)

```
$ vendor/bin/undepend

```

The command will exit with 0 if you have no orphaned dependencies.

If you do have some, it will exit with 1 and give you all dependencies that are orphaned.

You can specify another composer.json and lock file to use like so:

```
$ vendor/bin/undepend /path/to/composer.json /path/to/composer.lock

```

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance59

Moderate activity, may be stable

Popularity13

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity43

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

Unknown

Total

1

Last Release

2317d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/14289961?v=4)[Gert de Pagter](/maintainers/BackEndTea)[@BackEndTea](https://github.com/BackEndTea)

---

Top Contributors

[![BackEndTea](https://avatars.githubusercontent.com/u/14289961?v=4)](https://github.com/BackEndTea "BackEndTea (5 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Psalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/backendtea-undepend/health.svg)

```
[![Health](https://phpackages.com/badges/backendtea-undepend/health.svg)](https://phpackages.com/packages/backendtea-undepend)
```

###  Alternatives

[cybercog/laravel-optimus

An Optimus bridge for Laravel. Id obfuscation based on Knuth's multiplicative hashing method.

195578.5k](/packages/cybercog-laravel-optimus)[antares/accessible

PHP library that allows you to define your class' getters, setters and constructor with docblock annotations.

123.9k1](/packages/antares-accessible)

PHPackages © 2026

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