larapack/dd
Adds Laravel-style dd() “dump and die” helper to any PHP app. Useful for non-Laravel projects or for overriding Laravel 4’s dd() with the Laravel 5 equivalent. Install via Composer and, on Laravel 4, require the helper in public/index.php.
dd is a helper method in Laravel. This package will add the dd to your application.
Run composer require larapack/dd 1.*
Laravel already have the dd function in its helpers.
The dd function from this package is equal to the one in Laravel 5.
If you wish to override the Laravel 4 function with this one, please follow those few steps:
public/index.phprequire "../vendor/larapack/dd/src/helper.php"; after the opening <?php-tagHow can I help you explore Laravel packages today?