The error management app Honey Badger now supports PHP
Development Tools / September 21, 2016

The error management app Honey Badger now supports PHP

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.

This appeared first on Laravel News
Laravel News Partners

Newsletter

Join the weekly newsletter and never miss out on new tips, tutorials, and more.