Fork me on GitHub


To enable LERN (Laravel Exception Recorder and Notifier) set the configuration option as shown below:


Once enabled, LERN can record exceptions in the table lern_exceptions as well as email them if your mail system is properly configured. A few more options are available to tweak the behaviour of LERN, refer to the lern.php configuration page and the project home page at tylercd100/lern. All recorded exceptions can be seen in the Error page from the Admin menu. Individual exceptions also can be reviewed and should the need arise, old entries can be deleted with the purge button. The setting ERRORS_PURGE_RETENTION let you configure how far back, in days, exceptions are kept when purging. By default, any exception older than 30 days is deleted.