PHPackages                             khaled-rayan/phpconsole - 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. khaled-rayan/phpconsole

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

khaled-rayan/phpconsole
=======================

A simple PHP library to send console messages to browser's JavaScript console

v1.0(1y ago)12BSD-3-ClausePHPPHP &gt;=7.4CI failing

Since May 1Pushed 1y ago1 watchersCompare

[ Source](https://github.com/khaled-rayan/PHPConsole)[ Packagist](https://packagist.org/packages/khaled-rayan/phpconsole)[ RSS](/packages/khaled-rayan-phpconsole/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

PHPConsole
==========

[](#phpconsole)

PHPConsole is a lightweight PHP library that bridges the gap between PHP server-side logging and browser-based JavaScript console, providing an intuitive way to debug and log information directly from PHP.

🌟 Features
----------

[](#-features)

- 📝 Multiple logging methods: `log()`, `warn()`, `error()`, `info()`
- 📊 Table rendering support
- 🕒 Timing and performance tracking
- 🧮 Counting method calls
- 🔍 Easy-to-use console group functionality
- 🚀 Zero dependencies
- 💻 PHP 7.0+ compatible

📦 Installation
--------------

[](#-installation)

### Composer (Recommended)

[](#composer-recommended)

```
composer require khaled-rayan/phpconsole
```

### Manual Installation

[](#manual-installation)

1. Download the `PHPConsole.php` file
2. Include it in your project
3. Use the namespace `PHPConsole`

🚀 Quick Start
-------------

[](#-quick-start)

```
