PHPackages                             wpcl/wpconsole - 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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. wpcl/wpconsole

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

wpcl/wpconsole
==============

A simple package to log php to the browser console in WordPress plugins and themes

v1.0.1(5y ago)197MITPHP

Since Jan 15Pushed 5y ago1 watchersCompare

[ Source](https://github.com/bob-moore/wp-console)[ Packagist](https://packagist.org/packages/wpcl/wpconsole)[ Docs](https://github.com/bob-moore/wp-console)[ RSS](/packages/wpcl-wpconsole/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (3)Used By (0)

WP-Console
==========

[](#wp-console)

A simple package to log php to the browser console in WordPress plugins and themes. Simply include the package, preferrebly through composer, and go about logging errors, strings, objects arrays...whatever you need to visualize. It's meant as an alternative to var\_dump, and works with Ajax requests.

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

[](#installation)

Simply add a dependency on wpcl/wpconsole to your composer.json file if you use [Composer](https://getcomposer.org/) to manage the dependencies of your project:

```
composer require wpcl/wpconsole

```

Although it's recommended to use Composer, you can actually anyway you want.

Usage
-----

[](#usage)

```
use wpcl\wpconsole\Console;

$error1 = 'Anything you want to log';

Console::log( $error1 );

$error2 = ['Some Item', 'Some Other Item'];

Console::log( $error2 );

```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 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

Every ~0 days

Total

2

Last Release

1945d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/adf6af151397e0b108508ed9a8554fa09dc00f90864873446e76fa5b17463e23?d=identicon)[bobjutsu](/maintainers/bobjutsu)

---

Top Contributors

[![bob-moore](https://avatars.githubusercontent.com/u/1745619?v=4)](https://github.com/bob-moore "bob-moore (6 commits)")

---

Tags

consoleloggingwordpresswp

### Embed Badge

![Health badge](/badges/wpcl-wpconsole/health.svg)

```
[![Health](https://phpackages.com/badges/wpcl-wpconsole/health.svg)](https://phpackages.com/packages/wpcl-wpconsole)
```

###  Alternatives

[analog/analog

Fast, flexible, easy PSR-3-compatible PHP logging package with dozens of handlers.

3451.5M24](/packages/analog-analog)[stayallive/wp-sentry

A (unofficial) WordPress plugin to report PHP and JavaScript errors to Sentry.

379197.9k](/packages/stayallive-wp-sentry)[inpsyde/wonolog

Monolog-based logging package for WordPress.

183617.9k7](/packages/inpsyde-wonolog)[phpconsole/phpconsole

A detached logging facility for PHP to aid your daily development routine

417.5k1](/packages/phpconsole-phpconsole)

PHPackages © 2026

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