Laravel - 转储服务器

Laravel转储服务器附带Laravel 5.7版本.以前的版本不包含任何转储服务器.转储服务器将是laravel/laravel composer文件中的开发依赖项.

随着版本5.7的发布,你将获得这个命令,其中包含一个允许用户使用的概念框.将数据转储到控制台或HTML文件而不是浏览器.命令执行在下面提到 :

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

解释

该命令在后台运行服务器,有助于收集从中发送的数据应用程序,通过控制台发送输出.当命令没有在前台运行时,dump()函数应该默认工作.