A package for Laravel 4 to dump the given variable. It much better than dd function in Laravel Helpers. Clean and Readable
158
0
2
Package Data
Maintainer Username: michelloworld
Maintainer Contact: kittiphong.mic@gmail.com (Mic)
Package Create Date: 2014-09-09
Package Last Update: 2014-09-11
Language: PHP
License: Unknown
Last Refreshed: 2024-12-18 03:03:33
Package Statistics
Total Downloads: 158
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 2
Total Forks: 0
Total Open Issues: 0

Laravel 4 - BetterDD

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',
    
  ),