mic/better-dd

There is no license information available for the latest version (dev-master) of this package.

A package for Laravel 4 to dump the given variable. It much better than dd function in Laravel Helpers. Clean and Readable

dev-master 2014-09-11 04:40 UTC

This package is not auto-updated.

Last update: 2020-10-26 07:20:14 UTC


README

A package for Laravel 4 to dump the given variable. It much better than dd function in Laravel Helpers. Clean and Readable

Example Usage:

// de() function doesn't end execution of the script. You have to use exit or die function after de().
de($value);

OR

ddd($value);

Example Result:

BetterDD Example

Installation

Add BetterDD as a requirement to composer.json:

{
  ...
  "require": {
    ...
    "mic/better-dd": "dev-master"
    ...
  },
}

Update composer:

    php composer.phar update

Add the provider to your app/config/app.php:

  'providers' => array(
  
    ...
    
    'Mic\BetterDD\BetterDDServiceProvider',
    
  ),