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
- Place the Drupal 7 module you wish to port into your modern Drupal site's
/modulesdirectory. - 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_NAMEThis will export a report showing any relevant change notices where you can
read more. - 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_NAMEThe 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. ;)
Project information
Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed.Maintenance fixes only
Considered feature-complete by its maintainers.- Project categories: Developer tools
136 sites report using this module
- Created by webchick on , updated
Stable releases for this project are covered by the security advisory policy.
There are currently no supported stable releases.
Releases
Resurrected with Drupal 10 and 11 support
Development version: 2.x-dev updated 5 Mar 2026 at 10:57 UTC













