REPL (a custom shell for Drupal)

The php:cli command is interactive PHP REPL with your bootstrapped site (remote or local). It’s a Drupal code playground. You can do quick code experimentation, grab some data, or run Drush commands. This can also help with debugging certain issues. See this blog post for an introduction. Run help for a list of commands.


Last update: August 22, 2023
Authors: Moshe Weitzman