debugr
Quick and easy debugging for laravel, (*1)
Usage
Add Debugr to your composer.json
:, (*2)
{ // composer.json
...
"require": {
"awareness/debugr": "dev-master"
},
...
}
Add an alias in app/config/app.php
:, (*3)
<?php
return array(
// ...
'aliases' => array(
// ...
'Debugr' => 'Awareness\Debugr\Facades',
// ...
)
// ...
);
... and the service provider (also in app/config/app.php
):, (*4)
<?php
return array(
// ...
'providers' => array(
// ...
'Awareness\Debugr\DebugrServiceProvider',
// ...
)
// ...
);
Debug!!!, (*5)
$stuff = 'things';
Debug::dump($stuff); //=> things