composer-unused/composer-unused
Show unused composer dependencies by scanning your code observed · 2026-08-28
Health v2 · maintenance only
75/100
- Activity 79
- Release rhythm 56
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 51.5
- age_days: 2722
- days_rel: 215
- days_push: 129
- n_releases_24m: 7
Adoption not part of the score
1686 stars · 57 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
composer-unused is a PHP CLI tool that scans your codebase to detect Composer dependencies that are never used. It reports packages listed in composer. whose symbols are not referenced anywhere in the project.
Use cases
- find unused composer dependencies in my php project
- clean up composer. by removing packages that are no longer used
- audit which composer packages are actually referenced in the codebase
- check for dead dependencies before a refactor
- run a dependency usage scan in CI
When to choose
- you maintain a large PHP repository and lost track of required packages
- you want a quick CLI scan rather than manual grep for package symbols
- you want to slim down composer. and reduce install size
When to avoid
- your project is not PHP / does not use Composer
- you need runtime dependency analysis or dynamic usage detection (e.g. string-based class loading may be missed)
- you need a full dependency vulnerability audit rather than usage detection
Facets
cli-tool · maturity active
static-site-generator developer-tools parser developer-tools cli php cross-platform composer dependency-audit php static-analysis unused-dependencies command-line automation
1 source
- readme: https://github.com/composer-unused/composer-unused · fetched 2026-08-28 · fb9d71dee13b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| composer-unused/composer-unused | main | 75 |
For agents
markdown · JSON · MCP: product_card(name="composer-unused/composer-unused")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem