Laravel: Email administrator if error occurred

Matiss Janis Aboltins
1 min readSep 1, 2015

Ever wanted to receive an email straight after a 500 error occurs in your Laravel or OctoberCMS website? This little code snippet does just that.

It sends an email straight after a client has encountered a 500 error.

--

--