Developer tools

Composer 2.11.2 adds branch exclusions for VCS repositories

Composer adds a repository option for excluding branches that match selected patterns. A package index can use it to leave out branches maintained by automation.

The project published this release on 10 November 2026 (UTC).

Composer adds a repository option for excluding branches that match selected patterns. A package index can use it to leave out branches maintained by automation.

GitLab, Bitbucket and Forgejo repositories can also disable fallback to a git clone when their API request fails. The release includes corrections to download and credential handling; review the official release notice before rolling out the update in build workers.

Discussion

Sign in to participate.