PHP Console Log
Place the do_action( ‘php_console_log’, ‘My String or Array’ ); function anywhere in your WordPress plugin PHP code. The value(s) you pass into do_action( ‘php_console_log’, ‘My String or Array’ ); will be logged to the…
Consider an alternative
PHP Console Log shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites, is rated 5/5 and was last updated 7 years ago, and scores 30/100 on our health check.
- Small user base (10+ active installs)
- Very few reviews so far
- No update in 6 years
- Only tested up to WordPress 5.3 (latest is 7.1)
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where PHP Console Log stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| browser | >100 |
| console.log | >100 |
| debug | >100 |
| development | >100 |
| php | >100 |
Version adoption
Share of active sites per release.
Rating breakdown
★★★★★★★★★★ 5 from 1 reviews
About PHP Console Log
From the official readme · v1.0.1Description
Examples
Place the do_action( ‘php_console_log’, ‘My String or Array’ ); function anywhere in your WordPress plugin PHP code. The value(s) you pass into do_action( ‘php_console_log’, ‘My String or Array’ ); will be logged to the web console in your browser.
Pass in a string
$my_string = 'My String';
do_action( 'php_console_log', $my_string );
Pass in an array
$my_array = array(
'elm 1'
'elm 2',
);
do_action( 'php_console_log', $my_array );
Pass in an associative array
$my_array = array(
'key 1'=>'elm 1',
'key 2'=>'elm 2',
);
do_action( 'php_console_log', $my_array);
Pass in an unlimited number of arguments nested to an unlimited depth (multi-dimensional array)
$my_array = array(
'My String 1',
'My String 2',
array(
'elm 1',
'elm 2',
),
'My String 3',
array(
'key 1'=>'elm 1',
'key 2'=>'elm 2',
'key 3' => array(
'key 3a' => 'elm 3a',
'key 3b' => 'elm 3b',
),
),
'My String 4'
);
do_action( 'php_console_log', $my_array);
Installation
- Upload the plugin files to the
/wp-content/plugins/php-console-logdirectory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress.
- You can find the help page in Plugins->PHP Console Log->Help for usage instructions.
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best PHP Console Log alternatives
All browser plugins →FAQ
PHP Console Log: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is PHP Console Log free?
Yes. PHP Console Log is free to download and use from the official WordPress.org plugin directory.
Is PHP Console Log safe to use in 2026?
PHP Console Log shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites, is rated 5/5 and was last updated 7 years ago, and scores 30/100 on our health check.
How many websites use PHP Console Log?
PHP Console Log is active on 10+ WordPress websites and has been downloaded 2,862 times since it launched in July 2019. It was downloaded 44 times in the last 30 days.
Does PHP Console Log work with WordPress 7.1?
PHP Console Log is officially tested up to WordPress 5.3.28, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
What PHP version does PHP Console Log need?
PHP Console Log requires PHP 5.6.20 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was PHP Console Log last updated?
The latest version, 1.0.1, was released on February 7, 2020 (7 years ago).
Who makes PHP Console Log?
PHP Console Log is developed and maintained by Marcus Viar.
What are the best alternatives to PHP Console Log?
The most popular alternatives to PHP Console Log are WP Console (20K+ installs), Browser Screenshots (3K+ installs) and WP BrowserUpdate (1K+ installs).
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card

