Skip to content

Download composer.phar compressed - #40

Merged
Yurunsoft merged 1 commit into
Yurunsoft:v5from
Seldaek:compressed-composer-download
Dec 1, 2026
Merged

Yurunsoft merged 1 commit into
Yurunsoft:v5from
Seldaek:compressed-composer-download

Conversation

@Seldaek

@Seldaek Seldaek commented Nov 30, 2026

Copy link
Copy Markdown
Contributor

Plain curl and wget don't request compression unless asked, so this downloads the full ~3.8 MB composer.phar. With --compressed (curl) or --compression=auto (wget 1.19.2+), getcomposer.org sends a brotli or gzip copy (~0.6-0.8 MB) and the client decodes it before writing the file, so the resulting phar, and any checksum check on it, is unchanged.

Context: I'm one of the Composer maintainers. Uncompressed phar downloads are over half of getcomposer.org's bandwidth, so we're going around fixing the most common sources. Thanks!

@Yurunsoft
Yurunsoft merged commit a3d2da9 into Yurunsoft:v5 Dec 1, 2026
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants