Laravel Exception Recorder and Notifier Package

LERN (Laravel Exception Recorder and Notifier) is a package that will record exceptions into a database and will send you a notification.

It currently supports notifications via Email, Pushover, Slack, Hipchat, Fleephook, and Flowdock. Once installed implementation is added to app/Exceptions/Handler.php file:

public function report(Exception $e)
{
    if ($this->shouldReport($e)) {
        LERN::handle($e); //Record and Notify the Exception
        /*
        OR...
        LERN::record($e); //Record the Exception to the database
        LERN::notify($e); //Notify the Exception
        */
    }

    return parent::report($e);
}


Filed in: Laravel Packages


Newsletter

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

Laravel News Partners

Laravel Jobs

Software Engineer Lead (PHP)
Remote
CivicPlus, LLC
Full-time Senior Web Developer
Detroit, MI
Wayne State University
Senior Software Engineer
Sydney, Australia
FoodByUs
Full Stack Engineer
Remote or Medford, Oregon
Empire Medical
Laravel Developer (fulltime - Dutch only)
Netherlands
Qbixx | Webservices
Full Stack or Back-End Developer
Alexandria, VA; Tallahassee, FL; Orlando, FL
Marketing for Change
Senior Quality Assurance Engineer
Remote
Bisnow Media