Drupal is a registered trademark of Dries Buytaert
drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)! drupal 11.3.6 Update released for Drupal core (11.3.6)! drupal 10.6.6 Update released for Drupal core (10.6.6)! cms 2.1.0 Update released for Drupal core (2.1.0)! bootstrap 8.x-3.40 Minor update available for theme bootstrap (8.x-3.40). menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7). leaflet 10.4.5 Minor update available for module leaflet (10.4.5). eca 3.1.1 Minor update available for module eca (3.1.1). layout_paragraphs 2.1.3 Minor update available for module layout_paragraphs (2.1.3). ai 1.3.3 Minor update available for module ai (1.3.3). ai 1.2.14 Minor update available for module ai (1.2.14). node_revision_delete 2.0.3 Minor update available for module node_revision_delete (2.0.3). moderated_content_bulk_publish 2.0.52 Minor update available for module moderated_content_bulk_publish (2.0.52). klaro 3.0.10 Minor update available for module klaro (3.0.10). klaro 3.0.9 Minor update available for module klaro (3.0.9). layout_paragraphs 2.1.2 Minor update available for module layout_paragraphs (2.1.2).

drupalmoduleupgrader

134 sites Security covered
View on drupal.org

Drupal Module Upgrader provides drush commands to scan the source of a Drupal 7 module, flags any code that requires updating to modern Drupal, points off to any relevant API change notices, and (where possible) will actually attempt to convert the Drupal 7 code automatically to modern Drupal!

The module is kept on life support to aid Drupal 7 upgraders, but further development is not planned.

Installation

  • The "minimum-stability" option in the site's composer.json file must be set to "dev".
  • Install the module like you would any other Drupal module, it will bring along the needed dependencies.

Usage

  1. Place the Drupal 7 module you wish to port into your modern Drupal site's /modules directory.
  2. To scan code and get a report of code that needs updating and how, run the following inside the modern Drupal root directory:
    drush dmu-analyze MODULE_NAME
    

    This will export a report showing any relevant change notices where you can
    read more.

  3. To attempt to upgrade your Drupal 7 module's code to modern Drupal automatically,
    run the following inside the modern Drupal root directory:
    drush dmu-upgrade MODULE_NAME
    

    The script will output a few lines as it attempts various conversions. Go into your modules/MODULE_NAME directory and check out all of your new YAML files and such. ;)

Activity

Total releases
3
First release
Mar 2026
Latest release
1 month ago
Release cadence
0 days
Stability
0% stable

Release Timeline

Releases

Version Type Release date
2.0.0-alpha2 Pre-release Mar 5, 2026
2.0.0-alpha1 Pre-release Mar 5, 2026
2.x-dev Dev Mar 5, 2026