Composer

Developer ToolsMIT

Dependency manager for PHP.

Latest 2.11.2 · by ComposerWritten in PHPWebsitecomposer/composerRSS

Release activity

Release activity — 16 releases across 10 days since May 13, 2026. Each cell is one day; darker means more releases that day. Nothing is recorded before May 13, 2026. Older weeks are hidden at this screen width.
AugSepOctNov
SundayNo releases on Aug 2, 2026No releases on Aug 9, 2026No releases on Aug 16, 2026No releases on Aug 23, 2026No releases on Aug 30, 2026No releases on Sep 6, 2026No releases on Sep 13, 2026No releases on Sep 20, 2026No releases on Sep 27, 2026No releases on Oct 4, 2026No releases on Oct 11, 2026No releases on Oct 18, 2026No releases on Oct 25, 2026No releases on Nov 1, 2026No releases on Nov 8, 2026No releases on Nov 15, 2026
MondayNo releases on Aug 3, 2026No releases on Aug 10, 2026No releases on Aug 17, 2026No releases on Aug 24, 2026No releases on Aug 31, 2026No releases on Sep 7, 2026No releases on Sep 14, 2026No releases on Sep 21, 2026No releases on Sep 28, 2026No releases on Oct 5, 2026No releases on Oct 12, 2026No releases on Oct 19, 2026No releases on Oct 26, 2026No releases on Nov 2, 2026No releases on Nov 9, 2026
TuesdayNo releases on Aug 4, 2026No releases on Aug 11, 2026No releases on Aug 18, 2026No releases on Aug 25, 2026No releases on Sep 1, 2026No releases on Sep 8, 2026No releases on Sep 15, 2026No releases on Sep 22, 2026No releases on Sep 29, 2026No releases on Oct 6, 2026No releases on Oct 13, 2026No releases on Oct 20, 2026No releases on Oct 27, 2026No releases on Nov 3, 20262 releases on Nov 10, 2026
WednesdayNo releases on Aug 5, 2026No releases on Aug 12, 2026No releases on Aug 19, 2026No releases on Aug 26, 2026No releases on Sep 2, 2026No releases on Sep 9, 2026No releases on Sep 16, 2026No releases on Sep 23, 2026No releases on Sep 30, 2026No releases on Oct 7, 2026No releases on Oct 14, 2026No releases on Oct 21, 2026No releases on Oct 28, 2026No releases on Nov 4, 2026No releases on Nov 11, 2026
ThursdayNo releases on Aug 6, 2026No releases on Aug 13, 2026No releases on Aug 20, 20262 releases on Aug 27, 2026No releases on Sep 3, 2026No releases on Sep 10, 2026No releases on Sep 17, 2026No releases on Sep 24, 2026No releases on Oct 1, 2026No releases on Oct 8, 2026No releases on Oct 15, 20261 release on Oct 22, 20262 releases on Oct 29, 2026No releases on Nov 5, 2026No releases on Nov 12, 2026
FridayNo releases on Aug 7, 2026No releases on Aug 14, 2026No releases on Aug 21, 2026No releases on Aug 28, 2026No releases on Sep 4, 2026No releases on Sep 11, 2026No releases on Sep 18, 2026No releases on Sep 25, 2026No releases on Oct 2, 2026No releases on Oct 9, 2026No releases on Oct 16, 2026No releases on Oct 23, 20261 release on Oct 30, 2026No releases on Nov 6, 2026No releases on Nov 13, 2026
SaturdayNo releases on Aug 8, 2026No releases on Aug 15, 2026No releases on Aug 22, 2026No releases on Aug 29, 2026No releases on Sep 5, 2026No releases on Sep 12, 2026No releases on Sep 19, 2026No releases on Sep 26, 2026No releases on Oct 3, 2026No releases on Oct 10, 2026No releases on Oct 17, 2026No releases on Oct 24, 2026No releases on Oct 31, 2026No releases on Nov 7, 2026No releases on Nov 14, 2026

16 releases since May 13, 2026, busiest day 3

Branches

2.11
2.11.2
2.10
2.10.3
2.9
2.9.8
2.2
2.2.32
1.10
1.10.28

Changelog

What changed from 1 to 2
Filter releases by branch
16 of 16 releases

2.11.2

Latest
Added 3
  • Added exclude-branches option to VCS repositories to skip branches matching the given patterns, e.g. bot-managed ones
  • Added support for setting allow-git-fallback to false in GitLab, Bitbucket and Forgejo repositories to fail on API errors instead of falling back to a git clone
  • Added a 30 seconds stall timeout so downloads from a server which accepts the connection but never responds are aborted and retried instead of hanging for 300 seconds, configurable or disabled via the COMPOSER_HTTP_STALL_TIMEOUT env var
Changed 4
  • Improved performance of security advisory lookups by querying the API only once per package name
  • Improved performance of VCS repository updates by skipping the default branch lookup when the git mirror is up to date
  • Improved performance and memory usage of dependency resolution, package loading and sorting, and repository traversal
  • Improved performance with micro-optimizations in path and URL handling, lock file and installed.php generation, archiving and TLS/HTTP helpers
Fixed 4
  • Fixed config failing with a schema error or corrupting composer.json by turning nested {} into [] when adding or removing dotted sub-keys
  • Fixed config --unset, remove and require leaving in place or duplicating composer.json keys which are set to null
  • Fixed dist URLs of codeberg.org packages and bitbucket zip archives not being updated when requiring a specific commit with dev-branch#hash
  • Fixed an undefined array key warning hiding the real error when curl 8.23+ fails to parse a URL
Security 7
  • Fixed arbitrary command execution via the prevent_url_access_callable transport option being loaded from composer.lock / vendor/composer/installed.json
  • Fixed malicious zip archives being able to write files outside of the package directory via symlinked entries when extraction falls back from unzip to ZipArchive
  • Fixed inline repository HTTP credentials being sent to dist mirrors on other hosts supplied by a crafted composer.lock / vendor/composer/installed.json
  • Updated the bundled symfony/filesystem to a version fixing a disclosed vulnerability present in the one shipped with 2.11.1
  • Fixed Authorization and Cookie headers set in request options, e.g. via a repository's http.header option, being resent when following a redirect to another origin
  • Fixed non-auth config settings being read from a project's auth.json and the COMPOSER_AUTH env var, and home being read from a project's composer.json; these are now ignored with a warning
  • Fixed IPs blocked by the prevent_ip_access_callable transport option only being rejected after the request had been sent, and rejected in-flight downloads not being stopped

From Composer

  • Security: Fixed arbitrary command execution via the prevent_url_access_callable transport option being loaded from composer.lock / vendor/composer/installed.json (GHSA-jhfp-4ppm-crmm)
  • Security: Fixed malicious zip archives being able to write files outside of the package directory via symlinked entries when extraction falls back from unzip to ZipArchive (GHSA-w6hj-6587-3jh5)
  • Security: Fixed inline repository HTTP credentials being sent to dist mirrors on other hosts supplied by a crafted composer.lock / vendor/composer/installed.json (GHSA-x82q-x274-r6pq)
  • Security: Updated the bundled symfony/filesystem to a version fixing a disclosed vulnerability present in the one shipped with 2.11.1 (GHSA-6prc-h956-hxjq)
  • Security: Fixed Authorization and Cookie headers set in request options, e.g. via a repository's http.header option, being resent when following a redirect to another origin (#13253)
  • Security: Fixed non-auth config settings being read from a project's auth.json and the COMPOSER_AUTH env var, and home being read from a project's composer.json, these are now ignored with a warning (#13208)
  • Security: Fixed IPs blocked by the prevent_ip_access_callable transport option only being rejected after the request had been sent, and rejected in-flight downloads not being stopped (#13255)
  • Added exclude-branches option to VCS repositories to skip branches matching the given patterns, e.g. bot-managed ones (#13235)
  • Added support for setting allow-git-fallback to false in GitLab, Bitbucket and Forgejo repositories to fail on API errors instead of falling back to a git clone (#13234)
  • Added a 30 seconds stall timeout so downloads from a server which accepts the connection but never responds are aborted and retried instead of hanging for 300 seconds, configurable or disabled via the COMPOSER_HTTP_STALL_TIMEOUT env var (#13243)
  • Improved performance of security advisory lookups by querying the API only once per package name (#13202)
  • Improved performance of VCS repository updates by skipping the default branch lookup when the git mirror is up to date (#13224)
  • Improved performance and memory usage of dependency resolution, package loading and sorting, and repository traversal (#13187, #13188, #13194, #13197, #13200, #13211, #13217, #13218)
  • Improved performance with micro-optimizations in path and URL handling, lock file and installed.php generation, archiving and TLS/HTTP helpers (#13189, #13190, #13191, #13192, #13193, #13195, #13196, #13198, #13214, #13215, #13216, #13220, #13222)
  • Fixed config failing with a schema error or corrupting composer.json by turning nested {} into [] when adding or removing dotted sub-keys (#13210)
  • Fixed config --unset, remove and require leaving in place or duplicating composer.json keys which are set to null (#13225)
  • Fixed dist URLs of codeberg.org packages and bitbucket zip archives not being updated when requiring a specific commit with dev-branch#hash (#13242)
  • Fixed an undefined array key warning hiding the real error when curl 8.23+ fails to parse a URL (#13252)

Full Changelog: https://github.com/composer/composer/compare/2.11.1...2.11.2

View originalPermalink
How 2.11.2 went

2.2.32

Fixed 1
  • Fixed every update aborting with a `SecurityException` when a PHP extension reports a name that is not a valid platform package name
Security 4
  • Fixed malicious zip archives being able to write files outside of the package directory via symlinked entries when extraction falls back from `unzip` to `ZipArchive`
  • Fixed inline repository HTTP credentials being sent to dist mirrors on other hosts supplied by a crafted `composer.lock` or `vendor/composer/installed.json`
  • Fixed `Authorization` and `Cookie` headers set in request options, such as via a repository's `http.header` option, being resent when following a redirect to another origin
  • Fixed non-auth config settings being read from a project's `auth.json` and the `COMPOSER_AUTH` env var, and `home` being read from a project's composer.json; these are now ignored with a warning
View originalRead the notes
How 2.2.32 went

2.11.1

Added 1
  • Added a warning when the cache dir is on a Windows drive while running in WSL, as this makes filesystem operations very slow
Fixed 5
  • Fixed GitLab CI job tokens failing to authenticate against the GitLab Composer package registry, which requires HTTP Basic auth rather than the JOB-TOKEN header
  • Fixed every update aborting with a SecurityException when a PHP extension reports a name that is not a valid platform package name
  • Fixed require and remove dropping empty require, require-dev and repositories keys from composer.json when the command had not emptied them itself
  • Fixed a PHP 8.6 deprecation warning from composer/ca-bundle
  • Fixed invalid custom-headers auth entries being sent as-is; they are now ignored with a warning
View originalRead the notes
How 2.11.1 went

2.11.0

Added 12
  • Added a `cooldown` policy to withhold newly released package versions for a configurable period, reducing exposure to compromised releases
  • Added `block-scope` option to custom policies so they can also block during `install`
  • Added terminal progress/status reporting via OSC 7501 and OSC 9 escape sequences, configurable with `COMPOSER_TERMINAL_STATUS`
  • Added `--direct` (`-D`) option to `audit` to only audit direct dependencies
  • Added support for Bitbucket Cloud's new `ssh.bitbucket.org` SSH hostname, which is also used for the SSH fallback now
  • Added `strict-psr-autoloader` config option, the equivalent of the `--strict-psr-autoloader` flag
Removed 1
  • Removed the `source-fallback` config option, which was added in 2.10 as a temporary measure; dist installs no longer fall back to source
Security 9
  • Fixed package names in `vendor/composer/installed.json` being able to escape the vendor directory during install and reinstall
  • Fixed inline repository HTTP headers, such as API tokens, being written into `composer.lock`
  • Fixed additional arguments passed to `@composer` scripts not being escaped
  • Fixed svn passwords not being redacted from debug output
  • Sanitized URL-embedded credentials in hg and fossil error output
  • Reject TLS connections presenting distrusted intermediate certificates, even if the system CA store trusts their roots
View originalRead the notes
How 2.11.0 went

2.2.31

Fixed 3
  • Fixed @script references with quoted arguments being split on spaces when passed to @composer scripts
  • Fixed warnings when finding packages within inline packages of a composer repository
  • Fixed composer archive failing on PHP 5.3
Security 7
  • Fixed package names in vendor/composer/installed.json being able to escape the vendor directory during install and reinstall (GHSA-c968-33g3-wh7p)
  • Fixed inline repository HTTP headers, such as API tokens, being written into composer.lock (GHSA-fm2w-xgf2-f9fh)
  • Reject TLS connections presenting distrusted intermediate certificates, with composer/ca-bundle 1.4.16+ now required
  • Fixed additional arguments passed to @composer scripts not being escaped
  • Fixed repository transport options such as custom HTTP headers being sent to dist URLs on other hosts whose name starts with the repository host
  • Fixed the secure-http check skipping malformed URLs and git transport-prefixed URLs
  • Sanitized URL-embedded credentials in hg and fossil error output
View originalRead the notes
How 2.2.31 went

2.11.0-RC1

Pre-release
Added 13
  • Added a `cooldown` policy to withhold newly released package versions for a configurable period, reducing exposure to compromised releases
  • Added `block-scope` option to custom policies so they can also block during `install`
  • Added terminal progress/status reporting via OSC 7501 and OSC 9 escape sequences, configurable with `COMPOSER_TERMINAL_STATUS`
  • Added `--direct` (`-D`) option to `audit` to only audit direct dependencies
  • Added support for Bitbucket Cloud's new `ssh.bitbucket.org` SSH hostname, which is also used for the SSH fallback now
  • Added `strict-psr-autoloader` config option, the equivalent of the `--strict-psr-autoloader` flag
Changed 3
  • Bumped `composer-plugin-api` to `2.11.0`
  • Improved dependency resolution performance and memory usage
  • Improved performance by not requesting HTTP/3 anymore, which added a delay on every new connection with recent curl versions
Removed 1
  • Removed the `source-fallback` config option, which was added in 2.10 as a temporary measure; dist installs no longer fall back to source
Security 4
  • Reject TLS connections presenting distrusted intermediate certificates (the compromised eMudhra ones) even if the system CA store trusts their roots
  • Fixed bin proxies embedding package-controlled bin paths and shebangs unescaped, and bin paths containing shell metacharacters are now rejected
  • Fixed `secure-http` not catching insecure URLs that are not strictly valid or use git's `<transport>::<address>` syntax
  • Fixed repository options like custom HTTP headers being sent along to dist URLs on other hosts whose name starts with the repository host
View originalRead the notes
How 2.11.0-RC1 went

2.10.3

Changed 1
  • Error output when a policy blocks a package version is clearer
Fixed 5
  • Fixed PHP 8.6 deprecation warnings
  • Fixed the lock file's content-hash with a conflict marker ending up breaking at runtime
  • Fixed possible race condition while creating directories like the cache dir when running multiple Composer processes in parallel
  • Fixed forgejo support to handle empty repositories better
  • Fixed FilterListApiClient not forwarding transport options
Security 4
  • Validate package bin paths against path traversal using symlinks
  • Fixed command injection via malicious Perforce url
  • Sanitize URL-embedded usernames and tokens in a few more places
  • Fixed matching of gitlab URLs to avoid possible credential leak to the wrong domain
View originalRead the notes
How 2.10.3 went

2.2.30

Security 4
  • Validate package bin paths against path traversal using symlinks
  • Fixed command injection via malicious Perforce url
  • Sanitize URL-embedded usernames and tokens in a few more places
  • Fixed matching of gitlab URLs to avoid possible credential leak to the wrong domain
View originalRead the notes
How 2.2.30 went

2.10.2

Added 2
  • Warning output in self-update command when using a soon-to-be EOL version
  • Download retry when a GitHub codeload URL returns a 400
Fixed 4
  • The audit command outputs the audit result to stdout
  • Backspace characters are no longer output to non-decorated output
  • Security advisory blocking no longer causes issues with xdebug enabled
  • Provider packages no longer hide suggestions for the package they provide themselves
Security 6
  • Validate package names
  • Validate package bin paths against path traversal
  • Sanitize URL-embedded usernames and tokens in verbose output
  • Only follow HTTP redirects from HTTP responses
  • Prevent phar metadata unserialization on unsafe PHP versions
  • Sanitize JSON parse errors in HTTP responses to avoid leaking response body data
View originalRead the notes
How 2.10.2 went

2.2.29

Fixed 1
  • GitHub token validation made more relaxed
Security 6
  • Validate package names to prevent malicious or malformed names (GHSA-499r-g7pc-vmp9)
  • Validate package bin paths against path traversal (GHSA-gjfg-22fp-rrxx)
  • Sanitize URL-embedded usernames and tokens in verbose output (GHSA-g6xq-892h-64w3)
  • Only follow HTTP redirects from HTTP responses
  • Prevent phar metadata unserialization on unsafe PHP versions
  • Sanitize JSON parse errors in HTTP responses to avoid leaking response body data
View originalRead the notes
How 2.2.29 went

2.10.1

Fixed 4
  • Fixed source-fallback also disabling fallbacks to dist install when source is the preferred install method
  • Fixed source to dist package updates wiping the .git dir without checking for local changes first
  • Fixed GitHub token prompt happening multiple times on parallel auth failures
  • Fixed warnings from Composer repositories being printed twice in some cases
Security 2
  • Fixed shell escaping when opening an editor
  • Verify backup phar signature before restoring it when using self-update --rollback
View originalRead the notes
How 2.10.1 went

2.10.0

Added 5
  • Dependency policies to block package versions where malware was detected on update/install or report it with audit
  • Support for temporary --with constraints with wildcards in the package name for the update command
  • --strict-psr-autoloader flag for the install and update commands
  • source-fallback config option to disable or enable source fallback on download failure
  • --require parameter to create-project to add new packages to the project as it gets installed
Changed 5
  • Disabled automatic fallback to source checkout when dist/zip install fails, with a new source-fallback config option as a temporary way to restore the old behavior
  • The audit command exit code is now always 0 on success or 1 if anything failed the audit
  • Optimized plugin autoloading by avoiding regenerating classmaps for every package per plugin
  • Optimized PoolOptimizer memory usage
  • Optimized classmap dumping performance
Fixed 7
  • update --bump-after-update now only bumps packages that actually were updated
  • GitHub API authentication errors are now visible to the user
  • Error reporting for clarity when a constraint cannot be parsed
  • Warning no longer shown when lock file is disabled
  • Inconsistent treatment of SingleCommandApplication script commands with respect to autoloading
  • Some platform package parsing failing when Composer runs in web SAPIs
  • audit command returning a success code when the vendor dir was not present
Deprecated 1
  • Most of the audit config in favor of the new policy config
Security 6
  • Disabled automatic fallback to source checkout when dist/zip install fails to avoid the associated security risk
  • Hardened output filtering of URLs to reduce chances of token leaks
  • Fixed handling of uppercase schemes in URL validation that might have allowed https requirement bypass
  • Fixed git credentials remaining in git mirror .git/config after clone or update failed
  • Fixed usage of insecure 3DES ciphers when ext-curl is missing
  • Enforce allow-plugins even in non-interactive mode for very old pre-2.2 lock files
View originalRead the notes
How 2.10.0 went

2.10.0-RC2

Pre-release
Added 1
  • Added a new `policy` config block to control all security related update/install/audit policies
Changed 3
  • Blocking of malware packages at `install` time is enabled by default
  • The new filter list config format was modified since 2.10.0-RC1
  • Improved classmap dumping performance
Fixed 2
  • Fixed `--no-plugins` handling regression
  • Fixed regression in startup performance when many scripts are defined
Deprecated 1
  • The `policy` config block replaces and deprecates most of the `audit` config
Security 1
  • Fixes from 2.9.6 - 2.9.8, many of which are security relevant, are included since 2.10.0-RC1
View originalRead the notes
How 2.10.0-RC2 went

1.10.28

Security 1
  • Fixed GitHub token validation and disclosure
View originalRead the notes
How 1.10.28 went

2.9.8

Security: Fixed GitHub token validation and disclosure (GHSA-f9f8-rm49-7jv2)

View originalRead the notes
How 2.9.8 went

2.2.28

Security 1
  • Fixed GitHub token validation and disclosure
View originalRead the notes
How 2.2.28 went
View all

Discussion

If you publish Composer, you can claim this product by proving you administer its repository.