Package Data | |
---|---|
Maintainer Username: | kotchuprik |
Maintainer Contact: | constantinchuprik@gmail.com (Constantin Chuprik) |
Package Create Date: | 2014-04-21 |
Package Last Update: | 2014-04-21 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-12-17 03:02:51 |
Package Statistics | |
---|---|
Total Downloads: | 766 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 4 |
Total Watchers: | 2 |
Total Forks: | 0 |
Total Open Issues: | 0 |
Add the laravel-pretty-dump
with the following composer command:
composer require "kotchuprik/laravel-pretty-dump"
Or add it to the composer.json
file:
"require": {
"laravel/framework": "4.1.*",
"kotchuprik/laravel-pretty-dump": "dev-master"
}
After adding the require, you must update the composer by executing composer update
.
Next, add the kotchuprik\PrettyDump\ServiceProvider
to the app/config/app.php
providers.
To use in code:
<?php
$array = array('first' => 42, 'second' => 'another');
PrettyDump::dump($variable)
To use as the blade extension in views:
<div class="container">
@prettyDump($variable)
</div>