Drupal is a registered trademark of Dries Buytaert
cms 2.1.3 Update released for Drupal core (2.1.3)! drupal 10.5.11 Update released for Drupal core (10.5.11)! drupal 11.3.11 Update released for Drupal core (11.3.11)! drupal 11.2.13 Update released for Drupal core (11.2.13)! drupal 10.6.10 Update released for Drupal core (10.6.10)! cms 2.1.2 Update released for Drupal core (2.1.2)! drupal 11.1.10 Update released for Drupal core (11.1.10)! drupal 10.5.10 Update released for Drupal core (10.5.10)! drupal 10.4.10 Update released for Drupal core (10.4.10)! drupal 11.2.12 Update released for Drupal core (11.2.12)! drupal 11.3.10 Update released for Drupal core (11.3.10)! drupal 10.6.9 Update released for Drupal core (10.6.9)! drupal 10.6.8 Update released for Drupal core (10.6.8)! drupal 11.3.9 Update released for Drupal core (11.3.9)! drupal 11.3.8 Update released for Drupal core (11.3.8)! 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)!

devel_php

9,257 sites No security coverage
View on drupal.org

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

Activity

Total releases
2
First release
Dec 2025
Latest release
5 months ago
Release cadence
0 days
Stability
50% stable

Releases

Version Type Release date
2.0.0 Stable Dec 20, 2025
2.x-dev Dev Dec 20, 2025