kingzcheung / console-php
console log you php code
Installs: 22
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
pkg:composer/kingzcheung/console-php
Requires
- php: >=5.3.0
This package is auto-updated.
Last update: 2024-06-26 13:28:21 UTC
README
console-php
console.log for php
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
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
Open your browser -> F12(Mac:cmd+option+i) -> You will see the following printout