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
Start the dump server by calling the artisan command:
9
+
10
+
```bash
11
+
php artisan dump-server
12
+
```
13
+
14
+
You can set the output format to HTML using the `--format` option:
15
+
16
+
```bash
17
+
php artisan dump-server --format=html > dump.html
18
+
```
19
+
20
+
Now you can put regular `dump` statements in your code. Instead of dumping the output directly in the HTTP response, the dumped data will be shown inside of your terminal / the running artisan command.
21
+
22
+
This is very useful, when you want to dump data from API requests, without having to deal with HTTP errors.
0 commit comments