PHPackages                             sc0/vendors-cleanup - 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. sc0/vendors-cleanup

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

sc0/vendors-cleanup
===================

This package removes unwanted files from vendor directory

0.5.2(6y ago)126.5k↓100%1MITShell

Since May 23Pushed 6y ago1 watchersCompare

[ Source](https://github.com/sc0rp10/php-vendors-cleanup)[ Packagist](https://packagist.org/packages/sc0/vendors-cleanup)[ RSS](/packages/sc0-vendors-cleanup/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (7)DependenciesVersions (8)Used By (0)

php-vendors-cleanup
===================

[](#php-vendors-cleanup)

Clear php vendor-dir from unwanted files

Script removes:

- tests and related files
- docs
- composer files
- all dotfiles
- Symfony's WebProfilerBundle and DebugBundle which are not needed in production environment
- Symfony's Intl data

Why?
====

[](#why)

On typical Symfony installation we have about ~10k files

```
$ find vendor -type f | wc -l
   12843

```

But a big part of them is not required in production environment and may be removed

```
$ ./vendor/bin/clear_vendors
$ find vendor -type f | wc -l
   5579

```

Usage
-----

[](#usage)

```
composer require sc0/vendors-cleanup
./vendor/bin/clear_vendors

```

###  Health Score

32

—

LowBetter than 71% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 93.8% 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 ~157 days

Recently: every ~184 days

Total

7

Last Release

2330d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/05412073e9ab3b583dff0ed26b1d30504692d9a514faae652f0262a88aa92075?d=identicon)[sc0rp10](/maintainers/sc0rp10)

---

Top Contributors

[![sc0rp10](https://avatars.githubusercontent.com/u/597762?v=4)](https://github.com/sc0rp10 "sc0rp10 (15 commits)")[![Icewild](https://avatars.githubusercontent.com/u/8243173?v=4)](https://github.com/Icewild "Icewild (1 commits)")

---

Tags

php

### Embed Badge

![Health badge](/badges/sc0-vendors-cleanup/health.svg)

```
[![Health](https://phpackages.com/badges/sc0-vendors-cleanup/health.svg)](https://phpackages.com/packages/sc0-vendors-cleanup)
```

PHPackages © 2026

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