PHPackages                             abdelhamiderrahmouni/vendorkill - 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. [File &amp; Storage](/categories/file-storage)
4. /
5. abdelhamiderrahmouni/vendorkill

ActiveLibrary[File &amp; Storage](/categories/file-storage)

abdelhamiderrahmouni/vendorkill
===============================

a composer package to install globally and remove composer vendor folders in you old project to save storage.

v0.1.86(2y ago)337MITPHPPHP ^8.1|^8.2

Since Feb 20Pushed 2y ago1 watchersCompare

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

READMEChangelog (6)Dependencies (7)Versions (16)Used By (0)

Vendor Kill
===========

[](#vendor-kill)

[![Latest Version on Packagist](https://camo.githubusercontent.com/0720b43726172598d9ad575a95aa60478d7f5c19c801c13a8cf9c00d169c125c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616264656c68616d696465727261686d6f756e692f76656e646f726b696c6c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/abdelhamiderrahmouni/vendorkill)[![GitHub Tests Action Status](https://camo.githubusercontent.com/8540514aab5bac10809b41c6125f57b6e652f9ea24289a73ee8575ca609b1b22/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f616264656c68616d696465727261686d6f756e692f76656e646f726b696c6c2f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/abdelhamiderrahmouni/vendorkill/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/553437e44584b118d86a1c144ace482d776ee0ea3efeeaeb9d7a0e0792e2b88c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f616264656c68616d696465727261686d6f756e692f76656e646f726b696c6c2f70696e742e796d6c3f6272616e63683d6d6173746572266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/abdelhamiderrahmouni/vendorkill/actions?query=workflow%3A%22pint%22+branch%3Amaster)[![Total Downloads](https://camo.githubusercontent.com/7fdfb192b85a36b2d9a03eba3ba882a213e5da28a269e26ab1b6c6b814b7633a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616264656c68616d696465727261686d6f756e692f76656e646f726b696c6c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/abdelhamiderrahmouni/vendorkill)

a composer package to install globally and remove composer vendor folders in you old project to save storage.

Installation &amp;&amp; Update
------------------------------

[](#installation--update)

You can install the package globally via composer (and update it) by running the following command:

```
composer global require abdelhamiderrahmouni/vendorkill
```

you will find it installed in `~/.composer/vendor/bin` or `~/.config/composer/vendor/bin` directory. add it to your path to use it globally or create an alias like the following:

```
alias vendorkill="~/.composer/vendor/bin/vendorkill"
# or
alias vendorkill="~/.config/composer/vendor/bin/vendorkill"
```

Usage
-----

[](#usage)

```
vendorkill [path: defaults to current path] [options: --maxdepth=2 --full]
```

```
## Examples

vendorkill # remove vendor folders in current path

vendorkill /path/to/project # remove vendor folders in /path/to/project

vendorkill /path/to/project --maxdepth=4 # remove vendor folders in /path/to/project with maxdepth=4

vendorkill /path/to/project --full # remove vendor folders in /path/to/project and all subdirectories
```

Roadmap
-------

[](#roadmap)

- create the command
- add support for windows
- add a build workflow to build the phar file automatically
- ... share your ideas in the [issues](https://github.com/abdelhamiderrahmouni/vendorkill/issues)

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](/.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please open an [issue](https://github.com/abdelhamiderrahmouni/vendorkill/issues) to report any security vulnerabilities.

Credits
-------

[](#credits)

- [Abdelhamid Errahmouni](https://github.com/abdelhamiderrahmouni)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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

Every ~0 days

Total

15

Last Release

812d ago

PHP version history (2 changes)v0.1.0PHP ^8.1

v0.1.8PHP ^8.1|^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/745a0575996f5a3dcb6b8e177e5f37e610d83906028a1e99aa2ec3213a281027?d=identicon)[abdelhamiderrahmouni](/maintainers/abdelhamiderrahmouni)

---

Top Contributors

[![abdelhamiderrahmouni](https://avatars.githubusercontent.com/u/26693672?v=4)](https://github.com/abdelhamiderrahmouni "abdelhamiderrahmouni (28 commits)")

---

Tags

composernpkillphpstoragevendorcomposerstoragecleanfreevendordeletecleanerdiskremoveclearspacenpkill

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/abdelhamiderrahmouni-vendorkill/health.svg)

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

###  Alternatives

[league/flysystem

File storage abstraction for PHP

13.6k639.1M2.2k](/packages/league-flysystem)[league/flysystem-aws-s3-v3

AWS S3 filesystem adapter for Flysystem.

1.6k263.6M790](/packages/league-flysystem-aws-s3-v3)[liborm85/composer-vendor-cleaner

Composer Vendor Cleaner removes unnecessary development files and directories from vendor directory.

35342.7k1](/packages/liborm85-composer-vendor-cleaner)[microsoft/azure-storage-blob

This project provides a set of PHP client libraries that make it easy to access Microsoft Azure Storage Blob APIs.

5516.0M60](/packages/microsoft-azure-storage-blob)[vectorial1024/laravel-cache-evict

Efficiently remove expired Laravel file/database cache data

5813.2k](/packages/vectorial1024-laravel-cache-evict)[league/flysystem-async-aws-s3

AsyncAws S3 filesystem adapter for Flysystem.

2610.5M31](/packages/league-flysystem-async-aws-s3)

PHPackages © 2026

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