Laravel Blanket is a dashboard to view your HTTP client requests in a Laravel application:
It works by wrapping Laravel's HTTP client requests and provides logs for the requests and responses. The package persists data in your database by publishing the migration that ships with this package. You can even retry a request from the dashboard UI!
Here are the main features of this package:
- Filter by method type
- Search by URL
- Replay an HTTP request
- View logs of the request and response
- Clear logs
- Copy the request/response to the clipboard
These tools can help you debug request/response issues in your application and give an excellent visual of HTTP requests that typically happen behind the scenes are difficult to debug.
There are many other ways to log and debug HTTP requests (i.e., Laravel Debugbar, Sentry, etc.), but this tool could be helpful if you need something simple. I like the clever approach of wrapping Laravel's HTTP client to log data—be sure to check out the source code for implementation details.
You can learn more about this package, get full installation instructions, and view the source code on GitHub.
0 comments:
Post a Comment
Thanks