mlanin / laravel-api-debugger

Easy debug for your JSON API.
http://blog.lanin.me/easy-debug-for-your-json-api/
MIT License
233 stars 54 forks source link

Enable/disable api debugger only #15

Closed Robertbaelde closed 5 years ago

Robertbaelde commented 5 years ago

This PR makes it possible to enable or disable the api debugger, without changing the APP_DEBUG env variable. It fallbacks on the APP_DEBUG var when the new env variable isn't set.

After making this PR i saw that there already was a PR with the same functionality. Ofcourse credits to Jezzdk (PR)