PHPackages                             usabilitydynamics/wp-php-console - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Debugging &amp; Profiling](/categories/debugging)
4. /
5. usabilitydynamics/wp-php-console

AbandonedArchivedWordpress-plugin[Debugging &amp; Profiling](/categories/debugging)

usabilitydynamics/wp-php-console
================================

A WordPress implementation of PHP Console.

1.1.0(11y ago)0141GPLv2 or laterPHP

Since Nov 7Pushed 11y ago2 watchersCompare

[ Source](https://github.com/UsabilityDynamics/wp-php-console)[ Packagist](https://packagist.org/packages/usabilitydynamics/wp-php-console)[ Docs](https://github.com/nekojira/wp-php-console)[ RSS](/packages/usabilitydynamics-wp-php-console/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (2)Used By (0)

\#WP PHP Console

This is an implementation of **[PHP Console](https://github.com/barbushin/php-console)** as a [WordPress](http://www.wordpress.org) plugin.

> PHP Console allows you to handle PHP errors &amp; exceptions, dump variables, execute PHP code remotely and many other things using [Google Chrome PHP Console extension](https://chrome.google.com/webstore/detail/php-console/nfhmhhlpfleoednkpnnnkolmclajemef) and [PhpConsole server library](https://github.com/barbushin/php-console).

This implementation for WordPress allows you to test any WordPress specific function or class (including those introduced by your active theme and plugins!) from PHP Console terminal and inspect results, catch error and warnings with stack trace straight from Chrome Dev Tools console.

Installation
------------

[](#installation)

Follow these steps:

1. First, install **[PHP Console for Google Chrome](https://chrome.google.com/webstore/detail/php-console/nfhmhhlpfleoednkpnnnkolmclajemef)**.
2. Then, add this plugin to your WordPress installation (by placing it into your `wp-content/plugins/` directory). **Note:** If you are cloning or manually downloading this git repo from GitHub, make sure to init PHP Console git submodule (i.e. `lib\php-console` directory should not be empty - this step is not necessary if you happen to download this plugin from WordPress.org).
3. Once installed, activate WP PHP Console from WordPress plugins dashboard page; then go to `PHP Console` settings page from the `Settings` menu. From here you need to enter a password for the eval terminal (required, otherwise the eval terminal simply won't work).

### Options

[](#options)

In WP PHP Console settings page, you can also tick a checkbox to use the terminal only on a SSL connection (of course then if you don't have SSL the terminal simply won't work). You can also specify IP addresses to restrict the accessibility to the eval terminal (a single address eg. `192.168.0.4`; or an address mask eg. `192.168.*.*` or multiple IPs, comma separated `192.168.1.22,192.168.1.24,192.168.3.*`).

Usage
-----

[](#usage)

Once you have set up a password, you can navigate any of your WordPress page (including WordPress admin) and try the console. You will se a "key" icon in your browser address bar. By clicking on it, it will prompt for the password you have set just before. After entering the correct password, you can use the eval terminal and run any PHP code from it, including WordPress own functions. Furthermore, in Chrome Dev Tools console you will also see printed any PHP errors, warnings, notices with stack trace, which will be useful to debug your plugin or theme.

### Caveats

[](#caveats)

You should not use this plugin or PHP Console library in a production environment, rather a development/testing environment. You will otherwise add more load to your server and even put your site at risk since you're exposing PHP code publicly.

### Browser support

[](#browser-support)

Currently PHP Console only supports Google Chrome browser. If you're using for example Firefox or Opera this plugin won't be of much use to you at the moment.

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

4258d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/26fb1afd034b43a7fe204dfc667c143ce7fbda46be477ba7212cf753cd784706?d=identicon)[andy.potanin](/maintainers/andy.potanin)

---

Top Contributors

[![andypotanin](https://avatars.githubusercontent.com/u/1255935?v=4)](https://github.com/andypotanin "andypotanin (3 commits)")

---

Tags

usabilitydynamicswordpressdebugdebuggingdevelopment

### Embed Badge

![Health badge](/badges/usabilitydynamics-wp-php-console/health.svg)

```
[![Health](https://phpackages.com/badges/usabilitydynamics-wp-php-console/health.svg)](https://phpackages.com/packages/usabilitydynamics-wp-php-console)
```

###  Alternatives

[spatie/laravel-web-tinker

Artisan Tinker in your browser

1.2k4.1M7](/packages/spatie-laravel-web-tinker)[kktsvetkov/krumo

Krumo is a debugging tool, which displays structured information about any PHP variable. It is a nice replacement for print\_r() or var\_dump() which are used by a lot of PHP developers.

8362.2k](/packages/kktsvetkov-krumo)[spatie/global-ray

Enable Ray in all PHP files on your system

21795.8k1](/packages/spatie-global-ray)[mmucklo/krumo

KRUMO - version 2.0 of print\_r(); and var\_dump(); (with new updates)

94171.6k6](/packages/mmucklo-krumo)[xrdebug/php

PHP client library for xrDebug

23824.8k3](/packages/xrdebug-php)[jbzoo/jbdump

Script for debug and dump PHP variables and other stuff. This tool is a nice replacement for print\_r() and var\_dump() functions.

211.1M3](/packages/jbzoo-jbdump)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
