keversc/var-trumper

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

0.6.0 2025-04-01 06:40 UTC

This package is auto-updated.

Last update: 2025-04-01 06:40:40 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