nickwelsh / cull
Quickly purge vendor and node_modules directories from your projects
Fund package maintenance!
Nick Welsh
Installs: 3
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/nickwelsh/cull
Requires
- php: ^8.1
- laravel/prompts: ^0.3.6
- symfony/process: ^6.4 || ^7.0
Requires (Dev)
- larastan/larastan: ^3.7
- laravel/pint: ^1.25
- peckphp/peck: ^0.1.3
- rector/rector: ^2.1
README
Quickly find and purge vendor
and node_modules
directories from your projects to free up disk space.
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
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
- Works on macOS, Linux, and Windows (via PHP). Requires PHP 8.1+.