aeforge/dumper

AEForge dumper component. Providing better dump function for any PHP variable

1.0.0 2023-10-22 23:06 UTC

This package is auto-updated.

Last update: 2024-09-23 17:27:26 UTC


README

AEForge dumper component. Providing better dump function for any PHP variable

Installation

To install via composer:

  composer require aeforge/dumper

To clone the project:

    https://github.com/aeforge/Dumper.git

Usage/Examples

Example (1)

use Aeforge\Dumper\Dumper;

// This will make it so the script will not exit after dumping the data
$dumper = new Dumper($_SERVER);
$dumper->dump();

Example (2)

use Aeforge\Dumper\Dumper;

// This will make it so the script will exit after dumping data
$dumper = new Dumper($_SERVER);
$dumper->dumpAndDie();

Global Functions

The following are functions that can be accessed globaly and will do the same as Calling the dumper class

  dd() //Will dump and die
  dump() //Will dump only without exiting