PHPackages                             kenzal/log-to-dump - 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. kenzal/log-to-dump

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

kenzal/log-to-dump
==================

Adds a log channel to Laravel that sends log messages to the dump function.

v1.0.0(11mo ago)02.2k↓82.1%MITPHPPHP ^8.1CI passing

Since Jul 24Pushed 11mo agoCompare

[ Source](https://github.com/kenzal/laravel-log-to-dump)[ Packagist](https://packagist.org/packages/kenzal/log-to-dump)[ RSS](/packages/kenzal-log-to-dump/feed)WikiDiscussions master Synced 3d ago

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

A micro-package for Laravel that allows you to log messages to the `dump` channel, which sends all log messages to the `dump()` function. This is useful for debugging purposes, especially when you want to see the output of your logs in the browser or console without having to set up a dedicated logging channel.

Additionally, it may come in handy if you intercept dumped messages (via browser extension, dump server, or a utility such as [Laravel Herd](https://herd.laravel.com/)).

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

[](#installation)

You can install the package via composer (primarily intended for development purposes):

```
composer require --dev kenzal/log-to-dump
```

Usage
=====

[](#usage)

Simply set your default log channel to `dump` or a stack that includes `dump`;

You may also specify the `dump` channel in your `config/logging.php` file:

```
'channels' => [
    // ...
    'dump' => [
        'driver' => 'dump',
    ],
],
```

Options
=======

[](#options)

You can configure the `dump` channel in your `config/logging.php` file. The following options are available:

- `level`: The minimum log level to log. Defaults to `debug`.
- `formatter`: A monolog formatter to use.
- `processors`: An array of monolog processors to use.

Testing
=======

[](#testing)

```
composer test
```

Contribution
============

[](#contribution)

If you want to contribute code to this package, please open an issue first. To avoid unnecessary effort for you, it is very beneficial to first discuss the idea, the functionality and its API.

Changelog
=========

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Security Vulnerabilities
========================

[](#security-vulnerabilities)

If you discover any security related issues, please submit them through the issue tracker.

License
=======

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance51

Moderate activity, may be stable

Popularity20

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity45

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

Unknown

Total

1

Last Release

345d ago

### Community

Maintainers

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

---

Top Contributors

[![kenzal](https://avatars.githubusercontent.com/u/2412533?v=4)](https://github.com/kenzal "kenzal (1 commits)")

### Embed Badge

![Health badge](/badges/kenzal-log-to-dump/health.svg)

```
[![Health](https://phpackages.com/badges/kenzal-log-to-dump/health.svg)](https://phpackages.com/packages/kenzal-log-to-dump)
```

###  Alternatives

[laravel/cashier

Laravel Cashier provides an expressive, fluent interface to Stripe's subscription billing services.

2.6k29.9M147](/packages/laravel-cashier)[spatie/laravel-flare

Send Laravel errors to Flare

111.4M7](/packages/spatie-laravel-flare)

PHPackages © 2026

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