PHPackages                             insolita/unused-scanner - 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. insolita/unused-scanner

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

insolita/unused-scanner
=======================

Detect unused composer dependencies

2.4.0(4y ago)4261.1M—3.8%39[1 issues](https://github.com/Insolita/unused-scanner/issues)[1 PRs](https://github.com/Insolita/unused-scanner/pulls)13mitPHPPHP &gt;=7.1CI failing

Since Apr 7Pushed 1y ago10 watchersCompare

[ Source](https://github.com/Insolita/unused-scanner)[ Packagist](https://packagist.org/packages/insolita/unused-scanner)[ RSS](/packages/insolita-unused-scanner/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (4)Versions (28)Used By (13)

Project scanner for detect unused composer dependencies
=======================================================

[](#project-scanner-for-detect-unused-composer-dependencies)

[![unused-scanner](https://github.com/Insolita/unused-scanner/workflows/unused-scanner/badge.svg?branch=master)](https://github.com/Insolita/unused-scanner/workflows/unused-scanner/badge.svg?branch=master)

### Versions

[](#versions)

Use 1.3.x@dev versions for projects with php 5.6, 7.0

Use 2.x versions for projects with php &gt;= 7.1

### ChangeLog

[](#changelog)

see [CHANGELOG.md](CHANGELOG.md)

### Installation

[](#installation)

`composer global require insolita/unused-scanner`

Ensure that your ~/.composer/vendor/bin directory declared in $PATH

`echo $PATH`

if not - you should add it in ~/.bashrc or ~/.profile

### Update

[](#update)

`composer global update`

### Usage

[](#usage)

prepare configuration file, see [scanner\_config.example.php](scanner_config.example.php)

put it in project root (or other place)

run `composer dumpautoload` in your project directory

run `unused_scanner /path/to/configuration/file/scanner_config.php`

since 1.1 you can run it without argument, if scanner\_config.php existed in current working directory, it will be used by default

**For auto-testing**:

Add --silent option for skip progress output and return exit code = 16, when unused packages detected

run `unused_scanner --silent /path/to/configuration/file/scanner_config.php`

**Docker**:

[![Demo screenshot](unused.png)](unused.png)

### Licence

[](#licence)

This project uses the [MIT licence](https://choosealicense.com/licenses/mit/).

###  Health Score

50

—

FairBetter than 96% of packages

Maintenance28

Infrequent updates — may be unmaintained

Popularity59

Moderate usage in the ecosystem

Community32

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 92.7% 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 ~57 days

Recently: every ~189 days

Total

25

Last Release

1594d ago

Major Versions

1.3 → 2.02019-02-21

1.3.1 → 2.0.12019-10-13

PHP version history (2 changes)1.0.0PHP &gt;=7.1

1.3PHP &gt;=5.6

### Community

Maintainers

![](https://www.gravatar.com/avatar/40f26825f8c130796e3151e6c076721cf5bb222c42148102bb31a341a1a5c789?d=identicon)[Insolita](/maintainers/Insolita)

---

Top Contributors

[![Insolita](https://avatars.githubusercontent.com/u/1847402?v=4)](https://github.com/Insolita "Insolita (102 commits)")[![dmaroulidis](https://avatars.githubusercontent.com/u/4481276?v=4)](https://github.com/dmaroulidis "dmaroulidis (2 commits)")[![disc](https://avatars.githubusercontent.com/u/306231?v=4)](https://github.com/disc "disc (1 commits)")[![george-zakharov](https://avatars.githubusercontent.com/u/11558952?v=4)](https://github.com/george-zakharov "george-zakharov (1 commits)")[![peter279k](https://avatars.githubusercontent.com/u/9021747?v=4)](https://github.com/peter279k "peter279k (1 commits)")[![andreybolonin](https://avatars.githubusercontent.com/u/2576509?v=4)](https://github.com/andreybolonin "andreybolonin (1 commits)")[![TekkCraft](https://avatars.githubusercontent.com/u/21214298?v=4)](https://github.com/TekkCraft "TekkCraft (1 commits)")[![bitgandtter](https://avatars.githubusercontent.com/u/1316125?v=4)](https://github.com/bitgandtter "bitgandtter (1 commits)")

---

Tags

analyzercomposerdependency-analysishacktoberfestphp

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/insolita-unused-scanner/health.svg)

```
[![Health](https://phpackages.com/badges/insolita-unused-scanner/health.svg)](https://phpackages.com/packages/insolita-unused-scanner)
```

###  Alternatives

[wnx/laravel-stats

Get insights about your Laravel Project

1.8k1.8M7](/packages/wnx-laravel-stats)[symplify/monorepo-builder

Not only Composer tools to build a Monorepo.

5205.3M82](/packages/symplify-monorepo-builder)[coenjacobs/mozart

Composes all dependencies as a package inside a WordPress plugin

4723.6M20](/packages/coenjacobs-mozart)[illuminate/session

The Illuminate Session package.

9937.4M753](/packages/illuminate-session)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

728272.9k20](/packages/civicrm-civicrm-core)[laragear/preload

Effortlessly make a Preload script for your Laravel application.

119363.5k](/packages/laragear-preload)

PHPackages © 2026

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