This library will add the dd
and dump
helpers to your PHP application.
β‘οΈ Install
Run:
composer require tal7aouy/dd
β Usage
$arr = ['a'=>'a','b'=>b];
dd($arr);
// or
dump($arr);
π€ output:
^ array:2 [βΌ
"a" => "a"
"b" => "b"
]
π For Laravel
Laravel already have the dd
function in its helpers.
The dd
function from this package is equal to the one in Laravel.
dd was created by tal7aouy under the BSD-3-Clause.