PHPackages                             digital-drifter/laravel-chrome-logger - 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. digital-drifter/laravel-chrome-logger

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

digital-drifter/laravel-chrome-logger
=====================================

Laravel bridge for ChromePhp. Log PHP output to the Chrome console.

1.0.2(8y ago)27221MITPHPPHP &gt;=7.1.0

Since Apr 6Pushed 5y ago1 watchersCompare

[ Source](https://github.com/digital-drifter/laravel-chrome-logger)[ Packagist](https://packagist.org/packages/digital-drifter/laravel-chrome-logger)[ RSS](/packages/digital-drifter-laravel-chrome-logger/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (4)Versions (3)Used By (0)

Log PHP output to the Chrome console
====================================

[](#log-php-output-to-the-chrome-console)

Laravel bridge for [ChromePhp](https://craig.is/writing/chrome-logger).

Installation
============

[](#installation)

This package requires the [Chrome Logger](https://chrome.google.com/webstore/detail/chrome-logger/noaneddfkdjfnfdakjjmocngnfkfehhd) extension.

Once you've installed the extension, add this package to your project via composer:

```
$ composer require --dev digital-drifter/laravel-chrome-logger
```

Laravel 5.5 will automatically register the service provider through auto-discovery.

Previous versions of the framework just add the service provider in `config/app.php` file:

```
'providers' => [
    // ...
    DigitalDrifter\LaravelChromeLogger\LaravelChromeLoggerServiceProvider::class,
];
```

Available Methods
=================

[](#available-methods)

All methods exposed on the `ChromePhp` class are available. The following comes directly from the class:

```
/**
 * gets instance of this class
 *
 * @return ChromePhp
 */
public static function getInstance();

/**
 * logs a variable to the console
 *
 * @param mixed $data,... unlimited OPTIONAL number of additional logs [...]
 * @return void
 */
public static function log();

/**
 * logs a warning to the console
 *
 * @param mixed $data,... unlimited OPTIONAL number of additional logs [...]
 * @return void
 */
public static function warn();

/**
 * logs an error to the console
 *
 * @param mixed $data,... unlimited OPTIONAL number of additional logs [...]
 * @return void
 */
public static function error();

/**
 * sends a group log
 *
 * @param string value
 */
public static function group();

/**
 * sends an info log
 *
 * @param mixed $data,... unlimited OPTIONAL number of additional logs [...]
 * @return void
 */
public static function info();

/**
 * sends a collapsed group log
 *
 * @param string value
 */
public static function groupCollapsed();

/**
 * ends a group log
 *
 * @param string value
 */
public static function groupEnd();

/**
 * sends a table log
 *
 * @param string value
 */
public static function table();

/**
 * adds a setting
 *
 * @param string key
 * @param mixed value
 * @return void
 */
public function addSetting($key, $value);

/**
 * add ability to set multiple settings in one call
 *
 * @param array $settings
 * @return void
 */
public function addSettings(array $settings);

/**
 * gets a setting
 *
 * @param string key
 * @return mixed
 */
public function getSetting($key);
```

Usage
=====

[](#usage)

### Dependency Injection

[](#dependency-injection)

As with any other class registered in Laravel's service container, you may inject an instance into your code like:

```
use DigitalDrifter\LaravelChromeLogger\LaravelChromeLogger;

...

/**
 * LaravelChromeLogger $logger
 */
protected $logger;

public function __construct(LaravelChromeLogger $logger)
{
	$this->logger = $logger;
}
```

### Facade

[](#facade)

Using the provided facade:

```
public function log(string $message)
{
	LaravelChromeLogger::log($message);
}
```

### Helper Method

[](#helper-method)

The `console()` helper method is available.

```
public function log(string $level = "log", string $message)
{
	console($level, $message);
}
```

Credits
=======

[](#credits)

All credit to [Craig Cambell](https://github.com/ccampbell) for providing the basis to this package.

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity59

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

2958d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5d85f21bfcd3ad9a766840641e5fde1e315fdcc4e4897ba2c6e813f9f1d02c17?d=identicon)[digital-drifter](/maintainers/digital-drifter)

---

Top Contributors

[![digital-drifter](https://avatars.githubusercontent.com/u/236768?v=4)](https://github.com/digital-drifter "digital-drifter (2 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/digital-drifter-laravel-chrome-logger/health.svg)

```
[![Health](https://phpackages.com/badges/digital-drifter-laravel-chrome-logger/health.svg)](https://phpackages.com/packages/digital-drifter-laravel-chrome-logger)
```

###  Alternatives

[spatie/laravel-activitylog

A very simple activity logger to monitor the users of your website or application

5.8k45.4M309](/packages/spatie-laravel-activitylog)[jackiedo/log-reader

An easy log reader and management tool for Laravel

151376.5k4](/packages/jackiedo-log-reader)[ytake/laravel-fluent-logger

fluent logger for laravel and lumen

63541.6k1](/packages/ytake-laravel-fluent-logger)[kitloong/laravel-app-logger

Laravel log for your application

101.2M8](/packages/kitloong-laravel-app-logger)[label84/laravel-auth-log

Log user authentication actions in Laravel.

3654.0k](/packages/label84-laravel-auth-log)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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