A Composer tool that removes unnecessary files from the vendor directory to reduce project size.
Victor The Cleaner is a Composer plugin that automatically removes unnecessary files from the `vendor` directory after package installation. It reduces project size by deleting non-essential files like tests, documentation, and examples, while preserving files required for library functionality based on autoload configurations.
PHP developers using Composer who want to optimize their project's vendor directory size and remove clutter from dependencies.
It automatically cleans the vendor directory without manual intervention, reduces disk usage, and offers flexible configuration to exclude specific files or packages, ensuring compatibility while maintaining a minimal footprint.
Victor The Cleaner: removes unnecessary files from vendor directory
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Integrates seamlessly with Composer commands like `update` and `require`, cleaning the vendor directory without manual intervention, as stated in the installation instructions.
Uses each package's autoload configuration from `composer.json` to identify essential source files, ensuring libraries remain functional while removing clutter like tests.
Allows ignoring specific files, directories, or entire packages via `composer.json` with wildcard support, providing flexibility to handle edge cases, as detailed in the configuration section.
Follows a clean approach by removing only unnecessary files, helping reduce project size and improve efficiency without sacrificing core functionality.
For packages requiring files outside autoload, users must manually add ignore rules in `composer.json`, which can be tedious and error-prone, as admitted in the README's configuration notes.
If a package has incomplete or unconventional autoload definitions, essential files might be removed, potentially causing runtime issues that are hard to debug without thorough testing.
Limited to PHP projects using Composer, offering no solution for other programming languages or package managers, reducing its versatility in mixed-technology stacks.