awareness/debugr

Quick and easy debugging for laravel

dev-master 2013-06-02 02:36 UTC

This package is not auto-updated.

Last update: 2024-11-18 14:42:36 UTC


README

Quick and easy debugging for laravel

Usage

Add Debugr to your composer.json:

{ // composer.json
  ...
  "require": {
    "awareness/debugr": "dev-master"
  },
  ...
}

Add an alias in app/config/app.php:

<?php

return array(
  // ...
  'aliases' => array(
    // ...
    'Debugr' => 'Awareness\Debugr\Facades',
    // ...
  )
  // ...
);

... and the service provider (also in app/config/app.php):

<?php

return array(
  // ...
  'providers' => array(
    // ...
    'Awareness\Debugr\DebugrServiceProvider',
    // ...
  )
  // ...
);

Debug!!!

$stuff = 'things';
Debug::dump($stuff); //=> things