Drupal 11 · Database and debugging

Run PHP in Drupal

Evaluate PHP with Drupal bootstrapped.

vendor/bin/drush php:eval "echo \Drupal::VERSION;"

Official Drupal 11 documentation

More database and debugging commands

All database and debugging commands · Drupal 11 cheatsheet

Was this page helpful?