glhd/laravel-dumper

870,250 382
Install
composer require glhd/laravel-dumper
Latest Version:3.0.1
PHP:>=8.1
License:MIT
Last Updated:Mar 23, 2026
Links: GitHub  ·  Packagist
Maintainer: inxilpro

Laravel Dumper

Improve the default output of dump() and dd() in Laravel projects. Improves the default dump behavior for many core Laravel objects, including:

  • Models
  • Query Builders
  • Service Container
  • Database Connections
  • Carbon Instances
  • Requests and Responses

https://user-images.githubusercontent.com/21592/150163719-547ecd90-b029-4588-9648-34891e5e0886.mp4

Installation

Install as a dev dependency:

# composer require glhd/laravel-dumper --dev

Usage

Just use dd() as you would normally, and enjoy the newly curated output!

Original Dump Output

If, for some reason, you really need the full debug output for an object that laravel-dumper customizes, you can do a "full" dump with ddf() and dumpf().

Comparison to Default Output

You can see comparisons between the default dd() output and the laravel-dumper output in the diffs directory of this repository.

Custom Casters

Due to changes in how Laravel registers the var dumper it is no longer possible to register custom casters.

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

637,827,751 9,703
laravel/framework

The Laravel Framework.

589,172,971 34,950
laravel/tinker

Powerful REPL for the Laravel framework.

498,216,183 7,442
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

413,412,504 609
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

394,964,158 4,660

Version History

Version Released PHP Laravel License
3.0.1 >=8.1 ^10|^11|^12|^13 MIT
3.0.0 >=8.1 ^10|^11|^12 MIT
2.0.0 >=8.1 ^9|^10|11.x-dev|dev-master MIT
1.1.0 ^8|^9|^10|11.x-dev|dev-master MIT
1.0.1 ^8.0|^9.0 MIT