All Ecosystems
php

PHP

Clean Composer vendor directories, caches, and framework-specific artifacts. Supports Laravel, Symfony, and WordPress.

Avg. Space Saved

50MB - 500MB per project

Detection Files

2 files

Artifact Types

5 types

Cleanable Artifacts

Cluttered can safely clean these PHP build artifacts:

vendor/storage/framework/cache/storage/framework/views/bootstrap/cache/var/cache/

Project Detection

Cluttered identifies PHP projects by looking for these files:

composer.jsoncomposer.lock

Overview

PHP projects using Composer accumulate vendor directories with all their dependencies. Laravel and Symfony projects also generate significant cache data during development.

What Cluttered Cleans

ArtifactDescriptionTypical Size
vendor/Composer dependencies50MB - 400MB
Framework cachesLaravel/Symfony caches10MB - 100MB
Compiled viewsBlade/Twig compiled templates5MB - 50MB
Log filesApplication logs10MB - 500MB

Why PHP Projects Get Large

PHP projects grow from:

  • Composer packages: Full package sources with dev dependencies
  • Framework caches: Route, config, and view caches
  • Autoloader optimization: Compiled class maps
  • Development tools: PHPUnit, PHPStan, Rector

Safety Considerations

Cluttered protects your PHP projects by:

  • Detecting running PHP servers (built-in, artisan serve)
  • Checking for active queue workers
  • Identifying recent composer.lock changes
  • Preserving production cache configurations

Framework Support

FrameworkDetectionClean Support
Laravelartisan fileFull
Symfonysymfony.lockFull
WordPresswp-config.phpPartial
Drupalcore/composer.jsonPartial

Frequently Asked Questions

Will cleaning vendor/ break my application?

No. Run composer install to restore. Your composer.lock ensures exact versions.

What about WordPress plugins?

Cluttered treats wp-content/plugins as source code, not build artifacts. Only caches are cleaned.

Does it clean opcache?

PHP opcache is managed by the PHP runtime. Cluttered focuses on file-system artifacts.

  • Node.js - npm/yarn follows similar patterns
  • Ruby - Bundler is conceptually similar
  • Python - Composer inspired by pip/virtualenv

Ready to clean your PHP projects?

Download Cluttered and reclaim your disk space in minutes.