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.
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.
Source link https://laravel-news.com/laravel-dump-server-laravel-5-7