PHPackages                             kingzcheung/console-php - 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. [CLI &amp; Console](/categories/cli)
4. /
5. kingzcheung/console-php

AbandonedArchivedLibrary[CLI &amp; Console](/categories/cli)

kingzcheung/console-php
=======================

console log you php code

0.0.2(9y ago)122MITPHPPHP &gt;=5.3.0

Since Sep 16Pushed 9y ago1 watchersCompare

[ Source](https://github.com/KingzCheung/console-php)[ Packagist](https://packagist.org/packages/kingzcheung/console-php)[ RSS](/packages/kingzcheung-console-php/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (3)Used By (0)

console-php
===========

[](#console-php)

console.log for php

### Installation

[](#installation)

Install via the `composer` utility.

```
composer require "kingzcheung/console-php"

```

or add the following lines to your `composer.json`:

```
{
    "require": {
       "kingzcheung/console-php":"~0.0.2"
    }
}
```

### Usage

[](#usage)

```
include "vendor/autoload.php";

use kingzcheung\Console;

$data1 = "This is a test";
$data2 = [[1,2,3,['a'=>true]]];

Console::log($data1);
Console::log($data1,$data2);

Console::json($data2);

Console::table($data2);
```

### printout

[](#printout)

Open your browser -&gt; F12(Mac:cmd+option+i) -&gt; You will see the following printout

[![Screenshot](Screenshot.png)](Screenshot.png)

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

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 ~6 days

Total

2

Last Release

3568d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/12839855?v=4)[Kor1](/maintainers/kingzcheung)[@kingzcheung](https://github.com/kingzcheung)

---

Top Contributors

[![kingzcheung](https://avatars.githubusercontent.com/u/12839855?v=4)](https://github.com/kingzcheung "kingzcheung (19 commits)")

### Embed Badge

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

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

###  Alternatives

[illuminate/console

The Illuminate Console package.

13045.3M6.3k](/packages/illuminate-console)[styleci/cli

The CLI tool for StyleCI

71464.1k9](/packages/styleci-cli)[winbox/args

Windows command-line formatter

20718.9k21](/packages/winbox-args)

PHPackages © 2026

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