PHPackages                             nickwelsh/cull - 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. nickwelsh/cull

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

nickwelsh/cull
==============

Quickly purge vendor and node\_modules directories from your projects

v1.0.0(8mo ago)03[4 PRs](https://github.com/nickwelsh/cull/pulls)MITPHPPHP ^8.1CI passing

Since Sep 18Pushed 1mo agoCompare

[ Source](https://github.com/nickwelsh/cull)[ Packagist](https://packagist.org/packages/nickwelsh/cull)[ GitHub Sponsors]()[ RSS](/packages/nickwelsh-cull/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (6)Versions (6)Used By (0)

Cull
----

[](#cull)

[![PHP](https://camo.githubusercontent.com/d282cc3193faee11ee32307d0c4c9d809e8fafa4b3a8c12c6afbf35d4f7ec617/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d3737374242343f7374796c653d666f722d7468652d6261646765266c6f676f3d706870266c6f676f436f6c6f723d7768697465)](https://camo.githubusercontent.com/d282cc3193faee11ee32307d0c4c9d809e8fafa4b3a8c12c6afbf35d4f7ec617/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d3737374242343f7374796c653d666f722d7468652d6261646765266c6f676f3d706870266c6f676f436f6c6f723d7768697465)[![GitHub License](https://camo.githubusercontent.com/3a2e47a8a3b1633d1a02f2e3cd33dcc9b7cd9c096e57ab94c7c22bfea6e5a61d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6e69636b77656c73682f63756c6c3f7374796c653d666f722d7468652d6261646765)](https://camo.githubusercontent.com/3a2e47a8a3b1633d1a02f2e3cd33dcc9b7cd9c096e57ab94c7c22bfea6e5a61d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6e69636b77656c73682f63756c6c3f7374796c653d666f722d7468652d6261646765)[![GitHub Release](https://camo.githubusercontent.com/a5abf46aa6afe2f4007562e75d0ef2ce36402a9c44b4242290600f7a8cd18578/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f6e69636b77656c73682f63756c6c3f7374796c653d666f722d7468652d6261646765)](https://camo.githubusercontent.com/a5abf46aa6afe2f4007562e75d0ef2ce36402a9c44b4242290600f7a8cd18578/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f6e69636b77656c73682f63756c6c3f7374796c653d666f722d7468652d6261646765)[![Packagist Version](https://camo.githubusercontent.com/0031c65afb70c6bb72da631d1459c01b2a49a48faf613d7a1949cbde53194bce/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e69636b77656c73682f63756c6c3f7374796c653d666f722d7468652d6261646765)](https://camo.githubusercontent.com/0031c65afb70c6bb72da631d1459c01b2a49a48faf613d7a1949cbde53194bce/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e69636b77656c73682f63756c6c3f7374796c653d666f722d7468652d6261646765)

Quickly find and purge `vendor` and `node_modules` directories from your projects to free up disk space.

### Install (global)

[](#install-global)

```
composer global require nickwelsh/cull
```

Ensure Composer's global bin dir is on your PATH:

```
export PATH="$(composer global config bin-dir --absolute 2>/dev/null):$PATH"
```

### Usage

[](#usage)

From any directory:

```
cull
```

Cull will recursively scan the current working directory, list all `vendor` and `node_modules` folders it finds, and let you select which ones to delete.

You can skip file size calculations by passing the `--no-size` flag.

```
cull --no-size
```

### Notes

[](#notes)

- Works on macOS, Linux, and Windows (via PHP). Requires PHP 8.1+.

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance77

Regular maintenance activity

Popularity3

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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

Unknown

Total

1

Last Release

242d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/70a39610b8c88d0fde551dc4d451ca4b6e3ad8565125b01a9e6f59b8cd74abc9?d=identicon)[nickwelsh](/maintainers/nickwelsh)

---

Top Contributors

[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (1 commits)")[![nickwelsh](https://avatars.githubusercontent.com/u/11924961?v=4)](https://github.com/nickwelsh "nickwelsh (1 commits)")

###  Code Quality

Static AnalysisPHPStan, Rector

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/nickwelsh-cull/health.svg)

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

###  Alternatives

[mrmarchone/laravel-auto-crud

Laravel Auto CRUD helps you streamline development and save time.

28711.8k2](/packages/mrmarchone-laravel-auto-crud)[shyim/danger-php

Port of danger to PHP

8544.9k](/packages/shyim-danger-php)[vaimo/composer-changelogs

Provide information about package changes based on changelog files that are bundled with releases; provide tools for generating documentation files from changelog sources

11150.5k10](/packages/vaimo-composer-changelogs)[intrfce/laravel-frontend-enums

Stop using 'magic' strings/numbers in your frontend Javascript and use your actual application enums instead.

2320.6k](/packages/intrfce-laravel-frontend-enums)

PHPackages © 2026

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