Download the PHP package hesamrad/laravel-api-debugger without Composer
On this page you can find all versions of the php package hesamrad/laravel-api-debugger. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download hesamrad/laravel-api-debugger
More information about hesamrad/laravel-api-debugger
Files in hesamrad/laravel-api-debugger
Package laravel-api-debugger
Short Description A Laravel package to ease the process of debugging JSON APIs.
License MIT
Homepage https://github.com/hesamzakerirad/laravel-api-debugger
Informations about the package laravel-api-debugger
Laravel Api Debugger
Laravel-Api-Debuuger is a minimal package to help you debug your json apis.
It's very easy to setup; let me show you.
How to install?
Take these steps to install Laravel API Debugger.
Step #1
Install the package from Composer.
Step #2
Add it to the routes you want to debug.
And you're done! Told you it was easy :)
Now every route that goes through DebuggerMiddleware
will be investigated and reported back to you.
Let's see an example
After setting APP_DEBUG
key to true
and requesting a route with debugger middleware on top of it, you'll be presented a response like this.
I tried /users/1
as an example.
Make sure to send the Accept
header as application/json
otherwise debugger won't look into the request.
I hope this package helps you with debugging your JSON APIs as it has helped me many times now.
Be sure to open an issue if you encounter anything out of the ordinary.
Feel free to add ideas to the package to improve its functionality for others.
All versions of laravel-api-debugger with dependencies
illuminate/config Version ^8.0 || ^9.0
illuminate/database Version ^8.53 || ^9.0
illuminate/support Version ^8.0 || ^9.0