awareness / debugr by colbyr

Quick and easy debugging for laravel
16
0
2
Package Data
Maintainer Username: colbyr
Maintainer Contact: idontknow5691@gmail.com (Colby Rabideau)
Package Create Date: 2013-06-02
Package Last Update: 2013-06-02
Language: PHP
License: MIT
Last Refreshed: 2024-11-22 15:02:12
Package Statistics
Total Downloads: 16
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 2
Total Forks: 0
Total Open Issues: 0

debugr

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