Dump Server

Episode 2 Run Time 5:08

Laravel 5.7 includes an incredibly useful new php artisan dump-server command. Written by Marcel Pociot, this command provides a wrapper around Symfony's VarDumper component. While running, each time you dump data as part of your response (examples: dump($users) or dd('hello world')), the output will be swallowed up and printed in the console.

This lesson was published on September 7, 2018.