PHPackages                             spt/exception-monitor - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. spt/exception-monitor

ActiveLibrary

spt/exception-monitor
=====================

Package for monitoring exceptions in Laravel

v1.0.2(5y ago)07MITPHPPHP ^7.2

Since Jun 12Pushed 5y ago1 watchersCompare

[ Source](https://github.com/Spawoz/exception-monitor)[ Packagist](https://packagist.org/packages/spt/exception-monitor)[ RSS](/packages/spt-exception-monitor/feed)WikiDiscussions master Synced yesterday

READMEChangelog (3)Dependencies (1)Versions (6)Used By (0)

SPT Exception Monitor for Laravel
=================================

[](#spt-exception-monitor-for-laravel)

About
-----

[](#about)

The `Exception monitor` package allows you to view detailed reports of all exceptions occured in your laravel project and also notify via E-mail whenever an exception occurs.

Installation
------------

[](#installation)

You can install the package via Composer:

```
composer require spt/exception-monitor
```

Usage
-----

[](#usage)

To use the package, add the `ExceptionHandlerServiceProvider` Application Service Provider to the `providers` array in `app/config/app.php`:

```
'providers' => [
    // ...
    Spt\ExceptionHandling\ExceptionHandlerServiceProvider::class
];
```

And in `app/app/Exceptions/Handler.php`, change the header statement from

```
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
```

to

```
use Spt\ExceptionHandling\Exceptions\EmailHandler as ExceptionHandler
```

Configuration
-------------

[](#configuration)

The defaults are set in `config/sptexception.php`. Publish the config to copy the file to your own config:

```
php artisan vendor:publish --provider="Spt\ExceptionHandling\ExceptionHandlerServiceProvider"
```

This will publish config, views and translation files

#### Recieving E-mail notifiaction for exceptions

[](#recieving-e-mail-notifiaction-for-exceptions)

Set the `enable_email` value to true to get email notifiaction. use an array of to address to send multiple emails in toEmailAddress

```
    'ErrorEmail' => [
        'enable_email' => true,
        'toEmailAddress' => [],
        'toBccEmailAddress' => [],
        'fromEmailAddress' => " ",
        'emailSubject' => " "
    ];
```

#### Customising Views

[](#customising-views)

After publishing, the default view files will be copied to resources/view/spt-views If needed you can edit the email and dashbord views to your custom needs.

License
-------

[](#license)

This SPT Exception Handling for Laravel is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT)

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~6 days

Total

3

Last Release

2148d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1c9eb5b6e603e8ec6cc59b04a045b490fcf6a8f6be302c3cd1a6e27dddd491e0?d=identicon)[arunspt](/maintainers/arunspt)

---

Top Contributors

[![jyothish-spawoz](https://avatars.githubusercontent.com/u/12816689?v=4)](https://github.com/jyothish-spawoz "jyothish-spawoz (6 commits)")

---

Tags

laravelexceptionsexception monitor

### Embed Badge

![Health badge](/badges/spt-exception-monitor/health.svg)

```
[![Health](https://phpackages.com/badges/spt-exception-monitor/health.svg)](https://phpackages.com/packages/spt-exception-monitor)
```

###  Alternatives

[bugsnag/bugsnag-laravel

Official Bugsnag notifier for Laravel applications.

90234.6M36](/packages/bugsnag-bugsnag-laravel)[graham-campbell/exceptions

Provides A Powerful Error Response System For Both Development And Production

5911.3M4](/packages/graham-campbell-exceptions)[tylercd100/lern

LERN (Laravel Exception Recorder and Notifier) is a Laravel 5 package that will record exceptions into a database and will notify you via Email, Pushover or Slack.

438153.4k3](/packages/tylercd100-lern)[lanin/laravel-api-exceptions

All in one solution for exception for JSON REST APIs on Laravel and Lumen.

40102.4k](/packages/lanin-laravel-api-exceptions)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
