Download the PHP package vardot/varbase-patches without Composer
On this page you can find all versions of the php package vardot/varbase-patches. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download vardot/varbase-patches
More information about vardot/varbase-patches
Files in vardot/varbase-patches
Package varbase-patches
Short Description List of needed patches for Varbase used packages with Composer Patches.
License GPL-2.0-or-later
Informations about the package varbase-patches
Varbase Patches
List of needed patches for Varbase used packages with Composer Patches.
Composer plugin and curated patch list for Varbase. Built on top of cweagans/composer-patches v2 with three additions that v2 dropped or never had:
- Wildcard
ignore-dependency-patches(e.g.drupal/*). - Allowlist
allowed-dependency-patches— only listed packages contribute dependency-declared patches. Defaults to["vardot/varbase-patches"]. patches-ignorerestored from cweagans v1 — drop a specific URL declared by a given dependency.
Plus two Composer commands to convert remote merge-request URLs into local timestamped patch files (./patches/<package>--YYYY-MM-DD--<issue>--mr-<n>.patch).
Quick start
Result: only patches declared by vardot/varbase-patches (and your project's own extra.patches) apply. Patches declared by other dependencies are skipped — no more aborted installs from stale third-party .patch URLs.
Versions
| Branch | Drupal core | Use with |
|---|---|---|
11.0.x |
~11.3.0 |
Varbase ~11.0.0, Drupal 11 |
10.1.x |
~11.3.0 |
Varbase ~10.1.0 |
10.0.x |
~10.6.0 |
Varbase ~10.0.0 |
9.2.x |
~10.6.0 |
Varbase ~9.2.0 |
9.1.x |
~10.6.0 |
Varbase ~9.1.0 |
no-patches |
n/a | Plugin only, manage your own list |
The patches branch carries patch files only — do not require it.
Composer commands
The plugin registers two Composer commands to convert remote GitLab merge-request URLs in your patch lists into local timestamped .patch files under ./patches/. They replace the Drush commands previously shipped in varbase_core (see docs/migration-from-drush.md).
Clean up the root composer.json file
- Name:
varbase-patches:cleanup:patches - Aliases:
var-ccup - Description: Detects any merge request patches in the root
composer.jsonextra.patchesblock, downloads them to the local./patches/folder with a timestamped filename, and updates the rootcomposer.jsonto use the local patch file.
or
Clean up the external patches-file JSON file
- Name:
varbase-patches:cleanup:patches-file - Aliases:
var-ccupf - Description: Detects any merge request patches in the JSON file referenced by
extra.patches-file, downloads them to the local./patches/folder with a timestamped filename, and rewrites the patches-file JSON to use the local patch file.
or
Handling Varbase Patches Ignoring
To exclude a specific patch declared by vardot/varbase-patches (e.g. when you want to replace it with an improved version, or skip it entirely), add a patches-ignore block to your root composer.json:
Schema: { "<source-pkg>": { "<target-pkg>": { "<description>": "<url>" } } }. Matching is done by URL — the description string is informational. A flat array of URLs ({ "<source-pkg>": { "<target-pkg>": ["<url>", ...] } }) is also accepted.
This is the v1-style patches-ignore from cweagans/composer-patches, restored by this plugin on top of v2.
Filename convention
Examples:
drupal-core--2026-05-10--3539178--mr-12890.patchctools--2026-05-10--3572317--mr-85.patchredirect--2026-05-10--2879648--mr-109.patch
Documentation
- Overview
- Installation
- Configuration
- Commands
- Architecture
- Migration from Drush
- Troubleshooting
External: https://docs.varbase.vardot.com/developers/varbase-patches
AI assistant context
This repository ships its own AI-assistant context so contributors get the same project conventions as core maintainers:
AGENTS.md— vendor-neutral entry point. Works with any AI coding assistant (Claude Code, Cursor, Codex, Aider, Continue.dev, Copilot Workspace, …).CLAUDE.md— Claude Code-specific entry point..claude/agents/varbase-patches.md— Claude sub-agent..claude/skills/patch-management/SKILL.md— Claude skills.
Requirements
- PHP
>=8.1 composer-plugin-api ^2.0cweagans/composer-patches ~2.0
License
GPL-2.0-or-later. See LICENSE.
Maintainer
All versions of varbase-patches with dependencies
composer-plugin-api Version ^2.0
drupal/core Version ~11.3.0
composer/installers Version ~2
oomphinc/composer-installers-extender Version ~2
cweagans/composer-patches Version ~1.7.0 || ~2.0