drupal/core-vendor-hardening
Composer plugin for Drupal that hardens the vendor directory by stripping unnecessary files such as tests, documentation, and version-control metadata from dependencies. It reduces deployment size and attack surface while keeping required code intact.
drupal/core-vendor-hardening is a Composer plugin that hardens the vendor directory of Drupal projects by removing development-only and unwanted files from installed dependencies. It runs automatically during Composer install/update and applies configurable cleanup rules, helping reduce deployment footprint and exposure of non-runtime files.
.git, tests, docs, and other non-runtime files from vendor packagesextra.vendor-hardening in composer.jsonHow can I help you explore Laravel packages today?