Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Drupal Website Patches

No security coverage Under active development 33 sites

This module adds local patching capabilities to your website. It integrates with the Composer Patches plugin to manage patches for Drupal core and other modules, enabling you to apply custom modifications.

Web Patches shows the patches declared for your site, and the ignored ones, right in the admin UI.

Composer applies the patches, through cweagans/composer-patches and the webship/patches plugin. This module does not apply, download or write patches, and it never fetches a URL. It reads the same declarations and rules Composer reads, so a site owner can see what is patched without opening a terminal.

Features

  • Patching sources: the declaration files, and every installed package that declares patches, marked Allowed or Not allowed with the reason.
  • Patch lock: whether patches.lock.json matches the declarations, with the differences and the command that fixes them.
  • Patches: every declared patch, linked to its drupal.org project, issue and merge request.
  • Ignored patches: every patch that is not applied, and why (not in the allowlist, matched by an ignore rule, or listed in patches-ignore).
  • A settings form at Configuration > Development > Web Patches to pick the sources and a custom patches file.

Why? Some contrib modules ship their own extra.patches pointing at stale or third party URLs, and a curated patch set changes with every release. Composer knows what it applied, but that lives in lock files and build logs. Web Patches puts it on one report page.

Both permissions are restricted, since the report shows server paths and package versions. Requires Drupal core ^11.1.

Documentation

Full documentation with screenshots: project.pages.drupalcode.org/webpatches

Works with

Drupal 11 · not 10

Ask your assistant about Drupal Website Patches

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
25
Tracked since
Feb 2023
Latest release
3 weeks ago
Releases (12 mo)
11 ▲ from 4
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
11.0.0-rc1 Pre-release Dec 30, 2025
11.0.0-beta2 Pre-release Jun 25, 2025
11.0.0-beta1 Pre-release Jun 24, 2025
11.0.0-alpha1 Pre-release May 1, 2025
10.0.5 Stable Dec 31, 2024
10.0.4 Stable May 18, 2024
11.0.x-dev Dev 11 May 18, 2024
10.0.3 Stable Feb 17, 2024
10.0.2 Stable Feb 17, 2024
10.0.1 Stable Dec 21, 2023