PHPackages                             agashe/var-dumper - 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. [Debugging &amp; Profiling](/categories/debugging)
4. /
5. agashe/var-dumper

ActiveLibrary[Debugging &amp; Profiling](/categories/debugging)

agashe/var-dumper
=================

Better alternative to var\_dump function in PHP

0.1.5(1mo ago)04842MITHTML

Since Jan 11Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/agashe/var-dumper)[ Packagist](https://packagist.org/packages/agashe/var-dumper)[ RSS](/packages/agashe-var-dumper/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (2)Versions (7)Used By (2)

Var-Dumper
==========

[](#var-dumper)

A variables dumper to help with debugging , designed to be a better alternative to the standard var\_dump function in PHP.

Features
--------

[](#features)

- Easy to use , zero configurations
- Dumps all types of data in PHP , including (int, float , strings , bool, objects, arrays, resources, enums, closures and anonymous classes)
- Auto recognition for text with known patterns like Emails , URLs .. etc
- Support dumping to CLI , Web content and files
- Pretty colorful output for CLI
- Interactive web debugging with folding for objects / arrays / long text
- Support dumping to `.json` files
- Could be used for logs , using the dump to file option

Installation
------------

[](#installation)

```
composer require agashe/var-dumper

```

Documentation
-------------

[](#documentation)

To start using Var-Dumper , all what you have to do , is to include the `autoload.php` file into your php script , then call one of the helpers functions.

```
