Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Devel PHP

No security coverage Under active development 9,621 sites

Part of the Devel ecosystem · 15 projects

This module restores an execute PHP code feature that was removed from the core Devel module. It allows developers to run PHP code directly through an administrative interface.

The Execute feature has been removed from the Devel module for Drupal 8 since version 2.0. This module re-adds back that feature as an external module. Hence the message "This project is not covered by Drupal’s security advisory policy".

Go to the "Execute PHP Code" page (/devel/php), either using the Admin Toolbar Tools module or using the Devel toolbar (see configuration section) or using the Devel menu.

There is also a block you can place on your page if needed.

Requirements

This module requires the following modules:

Configuration

The module has no settings or configuration.

Otherwise, it uses configuration from the Devel module:

  • On Devel configuration page (/admin/config/development/devel), in "Variables Dumper", you can choose how the output will behave.
  • On Devel toolbar configuration page (/admin/config/development/devel/toolbar), you can enable "Execute PHP" menu link.

Maintainers

Drupal 11 · not 10

Ask your assistant about Devel PHP

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

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
5
Tracked since
Feb 2024
Latest release
3 months ago
Releases (12 mo)
3 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
2.0.1 Stable 11 Jul 14, 2026
2.0.0 Stable 11 Dec 20, 2025
2.x-dev Dev 11 Dec 20, 2025
8.x-1.7 Stable 10–11 Jun 16, 2024
8.x-1.6 Stable 9–10 Feb 1, 2024