WP Console – WordPress PHP Console powered by PsySH

from 0$

WP Console – WordPress PHP Console powered by PsySH is a WP Plugin Package from the Open Source WP Plugins range An in-browser PHP console for WordPress powered by PsySH


For more information about a tailored WP Plugin Package like WP Console – WordPress PHP Console powered by PsySH please contact us directly.

WP Console brings the famous PsySH on your browser. PsySH is a runtime developer console, interactive debugger and REPL for PHP.

Write your code in code editor, press Cmd-Enter(mac) or Ctrl-Enter(win/linux) and get your output in your browser.

You can also use PsySH with wp-cli with the command wp shell. wp-cli has built-in support for psysh already. You need to just activate WP Console to use this.

WP Console requires WordPress v5.0 or later.

Features

  • Powerful code editor powered by Ace Editor.
  • PHP core and WordPress functions live autocompletion with placeholders.
  • _dump as the alternative to var_dump which uses Symfony VarDumper.
  • Get debug.log contents and clear them right from your browser.
  • Advanced shell powered by psySH for wp shell.
  • Custom code snippet. Supports VS Code supported code snippets. For example you can use this WooCommerce snippets.

Please note that, currently PsySH commands like ls, doc, show etc and Magic variables like $_, $__class etc are not supported in browser console.

Download & install the zip archive

The plugin package installer can be downloaded from the WP2E project tab called “code”.

1 – Select the version to download if this option is available otherwise the “latest” version of the main plugin will be used.

2 – After downloading the zip archive install the plugin package installer in you local environment and activate the script from the plugin list.

3 – Under the section “Plugins” of the admin dashboard you should see a new “Dependencies & Licenses” link. Follow the instructions from this panel to finalize the installation of the missing dependencies.

Tips: Use the WP2E panel to add/suggest new dependencies to the local installation. Press F5 in the list of dependencies if the changes are not displayed right away.

WP Console – WordPress PHP Console powered by PsySH

typePlugin
version2.1.0
descriptionWordPress PHP Console powered by PsySH