The error management app Honey Badger now supports PHP
Published on by Eric L. Barnes
Honey Badger, the error management and exception notifier app, has announced an official PHP library for integration with their service.
The official client is available on GitHub and it supports PHP > 5.5. The documentation includes instructions for hooking into Laravel, but it’s for version 4.2. For Laravel 5.3 you will need to modify the app/Exceptions/Handler.php
file and call the notify method from the report method:
use Honeybadger\Honeybadger; public function report(Exception $e){ Honeybadger::notify($e);}
Honey Badger is a commercial service and they offer a free plan for non-commercial open-source projects.
Eric is the creator of Laravel News and has been covering Laravel since 2012.