docs: git is no longer an alternative to unzip since Composer 2.10 - #712
Open
CybotTM wants to merge 1 commit into
Open
docs: git is no longer an alternative to unzip since Composer 2.10#712CybotTM wants to merge 1 commit into
CybotTM wants to merge 1 commit into
Conversation
Composer 2.10 removed the automatic fallback from a failed dist extraction to a source checkout (composer/composer#12885), and PIE has shipped Composer 2.10 since 1.4.8. An image that only has git installed now fails with "The zip extension and unzip/7z commands are both missing" instead of cloning the package. git is still required for repositories Composer reads over git, so the note keeps it rather than dropping it. Signed-off-by: Sebastian Mendel <info@sebastianmendel.de> Assisted-by: claude-code:claude-opus-5 Agent-Session: https://claude.ai/code/session_0129QU37uCnSL1ZkmD8bdqxQ Agent-Host: 0493f0
CybotTM
force-pushed
the
docs/zip-requirement-since-composer-2.10
branch
from
August 19, 2026 18:40
54c1a1c to
db27f24
Compare
CybotTM
marked this pull request as ready for review
August 19, 2026 18:58
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR submitter checklist
docs/usage.mdstates the Docker requirement as "unzip, the Zip extension, orgit". The third option no longer works, and the failure it produces points at zip rather than at git, so it is hard to trace back to this sentence.Composer 2.10 removed the automatic fallback from a failed dist extraction to a source checkout: "BC Break / Security: Disabled automatic fallback to source checkout if dist/zip install fails" (composer/composer#12885). PIE has shipped Composer 2.10 since 1.4.8 (composer/composer 2.9.8 in 1.4.7, 2.10.2 in 1.4.8, #663). In an image that only has
git,pie installused to work:and now aborts:
What I verified
Each case is
pie install pecl/pcovonphp:8.4-trixie, differing only in what is installed:unzip, no gitext-zip, no unzip, no gitBisected across
ghcr.io/php/pie:<version>-bin: 1.4.3 through 1.4.7 install, 1.4.8 and 1.4.9 do not.The note keeps
gitrather than dropping it, because it is still required where Composer talks to a repository over git. Same image, same commands, onlygitdiffering:No driver found to handle VCS repository /extrepodetected dubious ownershipcheck)Branch
Opened against
1.4.xas the oldest affected branch, per the branching strategy in the maintainers handbook — 1.3.x still ships Composer 2.9.8, where the current wording is still correct.1.5.xcarries the same sentence and needs the same change.Notes
jaandzhtranslations carry the same sentence and are updated to match. A native speaker should sanity-check the wording; the technical content mirrors the English note.Assisted by claude-code:claude-opus-5 — Session