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

ActiveLibrary

visavi/cleanup
==============

Cleaning vendor directory

v1.5.2(6y ago)2353.0k—2.8%23MITPHPPHP &gt;=5.4.0

Since Jan 11Pushed 6y ago1 watchersCompare

[ Source](https://github.com/visavi/cleanup)[ Packagist](https://packagist.org/packages/visavi/cleanup)[ Docs](http://visavi.net)[ RSS](/packages/visavi-cleanup/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (8)DependenciesVersions (9)Used By (3)

Cleanup
=======

[](#cleanup)

[![Latest Stable Version](https://camo.githubusercontent.com/3d0dce7d0c6b54d59d0b37a9eefc669c0b092ca176d5948d7494f37cedc5e297/68747470733a2f2f706f7365722e707567782e6f72672f7669736176692f636c65616e75702f762f737461626c65)](https://packagist.org/packages/visavi/cleanup)[![Total Downloads](https://camo.githubusercontent.com/bdda16c15fc967126ec82f5acedcfab14527379b072e630b6979b43e8883ba8d/68747470733a2f2f706f7365722e707567782e6f72672f7669736176692f636c65616e75702f646f776e6c6f616473)](https://packagist.org/packages/visavi/cleanup)[![Latest Unstable Version](https://camo.githubusercontent.com/0346e574d177e61bc08ccb8c372a2d7ea7e38229cd60a799b7aaf8742a627ca2/68747470733a2f2f706f7365722e707567782e6f72672f7669736176692f636c65616e75702f762f756e737461626c65)](https://packagist.org/packages/visavi/cleanup)[![License](https://camo.githubusercontent.com/84b76a75d0f360c5e60c2a4d68ac791da237229087480e332c0b2bd787240fcd/68747470733a2f2f706f7365722e707567782e6f72672f7669736176692f636c65616e75702f6c6963656e7365)](https://packagist.org/packages/visavi/cleanup)

Cleaning composer vendor directory
----------------------------------

[](#cleaning-composer-vendor-directory)

It cleans up any tests, descriptions, documentation, examples, etc.

- .git
- .github
- test
- tests
- travis
- demo
- example
- examples
- doc
- docs
- license
- changelog\*
- changes\*
- faq\*
- contributing\*
- history\*
- upgrading\*
- upgrade\*
- readme\*
- {,.}\*.yml
- \*.md
- \*.xml
- \*.txt
- \*.dist
- \*.neon
- .php\_cs\*
- .scrutinizer
- .gitignore
- .gitattributes
- .editorconfig
- .phpstorm.meta.php
- dockerfile
- composer.lock

Installing
----------

[](#installing)

```
composer require visavi/cleanup

```

Run
---

[](#run)

```
./vendor/bin/cleanup

```

Option
------

[](#option)

\--help (-h) - Display help message

\--include (-i) - include new rules pattern

\--exclude (-e) - excludes from the pattern rule

\--verbose (-v) - Increase the verbosity of messages

\--path (-p) - Find on specific path

\--dry (-d) - Run without actual remove

*the list of arguments must be passed by a comma*

Example
-------

[](#example)

```
./vendor/bin/cleanup -v --path symfony --include *.zip,*.rar --exclude doc,docs,test

```

License
-------

[](#license)

The class is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT)

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity38

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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

Every ~151 days

Recently: every ~194 days

Total

8

Last Release

2353d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/826831?v=4)[Alexander Grigorev](/maintainers/visavi)[@visavi](https://github.com/visavi)

---

Top Contributors

[![visavi](https://avatars.githubusercontent.com/u/826831?v=4)](https://github.com/visavi "visavi (15 commits)")

---

Tags

cleancleanercleanupcomposerphpcomposercleanvendor

### Embed Badge

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

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

###  Alternatives

[jean85/pretty-package-versions

A library to get pretty versions strings of installed dependencies

1.3k289.5M63](/packages/jean85-pretty-package-versions)[voku/portable-ascii

Portable ASCII library - performance optimized (ascii) string functions for php.

574401.5M117](/packages/voku-portable-ascii)[dealerdirect/phpcodesniffer-composer-installer

PHP\_CodeSniffer Standards Composer Installer Plugin

598161.9M1.9k](/packages/dealerdirect-phpcodesniffer-composer-installer)[ergebnis/composer-normalize

Provides a composer plugin for normalizing composer.json.

1.1k37.3M2.1k](/packages/ergebnis-composer-normalize)[bamarni/composer-bin-plugin

No conflicts for your bin dependencies

52722.0M859](/packages/bamarni-composer-bin-plugin)[composer/metadata-minifier

Small utility library that handles metadata minification and expansion.

181115.0M13](/packages/composer-metadata-minifier)

PHPackages © 2026

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