You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,6 +35,12 @@ Start the dump server by calling the artisan command:
35
35
php artisan dump-server
36
36
```
37
37
38
+
You can set the output format to HTML using the `--format` option:
39
+
40
+
```bash
41
+
php artisan dump-server --format=html > dump.html
42
+
```
43
+
38
44
And then you can, as you are used to, put `dump` calls in your methods. But instead of dumping the output in your current HTTP request, they will be dumped in the artisan command.
39
45
This is very useful, when you want to dump data from API requests, without having to deal with HTTP errors.
0 commit comments