Skip to content

kevin-verschaeve/var-trumper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VarTrumper

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