|This is a library I recently wrote to improve the error reporting in PHP, which tbh, just plain sucks.|
It replaces the output with a fully syntax highlighted stack trace, with code snippets, better error messages, and a lot more. Most of all, it tries to make this as quick and easy to read as possible, allowing you to debug faster.
Works for Ajax too, where an error will cause the JS callback to be put on hold, and display the error in the browser.
You can then debug and fix the issue, and hit retry to rerun, with no page refresh required. This needs no changes to your JS, or special plugins to work.
Instructions are also provided here on the different ways you can setup PHP Error, including allowing you to keep it entirely seperate from your projects. That allows you to trivially keep it out of your deploments.
Since building this, I've found it far more productive then the standard PHP error reporting. I hope others find it useful too.