keversc/var-trumper

Add a citation of D. Trump to your dumps while debugging

Maintainers

Package info

github.com/kevin-verschaeve/var-trumper

pkg:composer/keversc/var-trumper

Statistics

Installs: 1 469

Dependents: 0

Suggesters: 0

Stars: 16

Open Issues: 0

0.6.0 2025-04-01 06:40 UTC

This package is auto-updated.

Last update: 2026-03-01 00:22:45 UTC


README

Make VarDumper Great Again

Unofficial var dumper

(from the US president)

This use the symfony VarDumper component

Installation

In order to install this amazing lib, please run:

$ composer require --dev keversc/var-trumper

Your PHP version must be 5.6 or higher

Usage

Once installed, just use it like this: trump($myVar)

You can disable the quote and only use the trump function by calling:

use \VarTrumper\VarTrumper;
...

VarTrumper::disableQuote();

This is just for fun

You probably want to install the official VarDumper