Composer lock file and vendor directory restoration interoperability
Goal Restore a PHP project from backup by recovering composer.json and composer.lock, then rebuild vendor/ with Composer, and confirm whether the recovered dependencies match the original locked set exactly. Constraints and uncertainty Composer has no native backup or restore command, so restoration depends on lock-file integrity and continued availability o