Laravel Dump Server to Ship With Laravel 5.7

Laravel Dump Server to Ship With Laravel 5.7

At Laracon US 2018 Taylor Otwell announced that Laravel Dump Server would come packaged with Laravel in version 5.7! It will be a development dependency in laravel/laravel composer file.

Starting in Laravel 5.7 you’ll get this command out-of-the-box that allows you to dump data to the console or an HTML file instead of to the browser:

php artisan dump-server

# Or send the output to an HTML file
php artisan dump-server --format=html > dump.html

The command runs a server in the background that collects data sent from the application that sends the output through the console. When the command is not running in the foreground, the dump() function works as expected by default.

Laravel continues to add useful packages, such as nunomaduro/collision in Laravel 5.6, and TrustedProxy (fideloper/proxy) in Laravel 5.5.

You can learn more about the Dump Server package from our write-up, and you can contribute to it on GitHub at beyondcode/laravel-dump-server: Bring Symfony’s Var-Dump Server to Laravel.


Filed in: Laravel 5.7


Newsletter

Join the weekly newsletter and never miss out on new tips, tutorials, and more.

Laravel News Partners

Laravel Jobs

PHP Web Developer
Orlando, FL
Christ for all Nations
PHP Developer
Manhattan, KS (open to Remote)
CivicPlus
Mid-Senior Laravel Developer
Exeter
Optix Solutions
Full Stack Web Developer
Las Vegas, NV
V Shred
Staff Software Engineer (Laravel)
Remote
smartbnb
Software Engineer (PHP, Laravel, Vue)
Los Angeles, CA
Relocity
Software Engineer Level 1 / Level 2
St. Pete. / Tampa Area, FL / Remote
ShineOn