What it is
Packages installed by Composer for one PHP project.
Can you delete it?
Yes, it is rebuilt automatically. composer install rebuilds it from composer.lock. Some old projects commit vendor to git, so check.
How to clean it safely
- Run git status to be sure vendor is not tracked.
- Delete vendor, then run composer install when needed.
Step-by-step guide: Developer caches on a Mac →
Related folders
- Composer cache (PHP) ·
~/Library/Caches/composer - LM Studio models ·
~/.lmstudio/models - Android Studio logs ·
~/Library/Logs/Google/AndroidStudio* - Xcode documentation cache ·
~/Library/Developer/Xcode/DocumentationCache - iOS Simulators ·
~/Library/Developer/CoreSimulator - VS Code cache ·
~/Library/Application Support/Code/Cache
Questions
Is it safe to delete <project>/vendor?
Yes, it is rebuilt automatically. composer install rebuilds it from composer.lock. Some old projects commit vendor to git, so check.
Let the raccoon do it, safely
Junk Raccoon finds this clutter for you, shows every file first, and keeps a one-click way back. Free to download, no account, no ads.
Download for Mac