PHPackages                             vandarpay/exception-monitoring - 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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. vandarpay/exception-monitoring

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

vandarpay/exception-monitoring
==============================

Vandar Exception Monitoring Laravel Package

1.1.5(6mo ago)12.2k1MITPHPPHP ^7.4|^8.0|^8.1|^8.2|^8.3|^8.4

Since Aug 10Pushed 6mo ago3 watchersCompare

[ Source](https://github.com/vandarpay/exception-monitoring)[ Packagist](https://packagist.org/packages/vandarpay/exception-monitoring)[ RSS](/packages/vandarpay-exception-monitoring/feed)WikiDiscussions main Synced 3d ago

READMEChangelog (8)Dependencies (1)Versions (9)Used By (0)

Vandar Exception Monitoring Laravel Package
===========================================

[](#vandar-exception-monitoring-laravel-package)

We need to define keys for each important section of the service.

When an exception occurs in a section, we need to add related key to redis and set a specific ttl to automatically remove the keys.

Also, need an api with dynamic parameter for keys and return related response. api return 500 if the key exists in redis and 200 otherwise.

we must prepare some functionality that get key of important section and ttl from services and this package must provide a dynamic route with dynamic parameter by the given key.

### Requirement

[](#requirement)

- Redis
- PHP redis extension

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

[](#installation)

### composer

[](#composer)

```
composer require vandarpay/exception-monitoring
```

you can publish config file:

```
#config
php artisan vendor:publish --provider="VandarPay\ExceptionMonitoring\Providers\ExceptionMonitoringServiceProvider" --tag="exception-monitoring-config"
```

Usage
-----

[](#usage)

### Set key on redis

[](#set-key-on-redis)

Here's a quick example:

```
use VandarPay\ExceptionMonitoring\Facades\ExceptionMonitoring;

    //...
    try{
        //...
        Mandate::store($data); //  env('EXCEPTION_MONITORING_TOKEN')
```

simply you can set `EXCEPTION_MONITORING_TOKEN` in `.env` file.

```
EXCEPTION_MONITORING_TOKEN="your_token"
```

for example if you call `https://your-domain.com/api/exception-monitoring/mandate-store` and,

if key exists in redis you will get bellow response:

```
//status code = 500
"NOK"
```

or if key not exists in redis you will get bellow response:

```
//status code = 200
"OK"
```

and if key `X-TOKEN` header not exists or invalid you will get bellow response:

```
//status code = 401
"UNAUTHENTICATED"
```

### Remove key from redis manually

[](#remove-key-from-redis-manually)

you can remove key from redis manually like bellow:

```
use VandarPay\ExceptionMonitoring\Facades\ExceptionMonitoring;

    ExceptionMonitoring::remove('mandate-store');
```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

45

—

FairBetter than 92% of packages

Maintenance67

Regular maintenance activity

Popularity18

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 77.8% 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 ~168 days

Recently: every ~293 days

Total

8

Last Release

192d ago

PHP version history (2 changes)1.0.0PHP ^7.4|^8.0

1.1.5PHP ^7.4|^8.0|^8.1|^8.2|^8.3|^8.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/b0965dbdada528d9faf355161ff590d8da14b838d1ecb6e963dbf2ffa7373e02?d=identicon)[vandarpay](/maintainers/vandarpay)

---

Top Contributors

[![farshidrezaei](https://avatars.githubusercontent.com/u/16887867?v=4)](https://github.com/farshidrezaei "farshidrezaei (14 commits)")[![PouyaPour](https://avatars.githubusercontent.com/u/28677731?v=4)](https://github.com/PouyaPour "PouyaPour (2 commits)")[![Mahdiazadbar](https://avatars.githubusercontent.com/u/11613106?v=4)](https://github.com/Mahdiazadbar "Mahdiazadbar (1 commits)")[![MohammadMghsoudi](https://avatars.githubusercontent.com/u/9220519?v=4)](https://github.com/MohammadMghsoudi "MohammadMghsoudi (1 commits)")

### Embed Badge

![Health badge](/badges/vandarpay-exception-monitoring/health.svg)

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

###  Alternatives

[overtrue/laravel-query-logger

A dev tool to log all queries for laravel application.

413307.5k6](/packages/overtrue-laravel-query-logger)[guanguans/laravel-exception-notify

Monitor exception and report to the notification channels(Log、Mail、AnPush、Bark、Chanify、DingTalk、Discord、Gitter、GoogleChat、IGot、Lark、Mattermost、MicrosoftTeams、NowPush、Ntfy、Push、Pushback、PushBullet、PushDeer、PushMe、Pushover、PushPlus、QQ、RocketChat、ServerChan、ShowdocPush、SimplePush、Slack、Telegram、WeWork、WPush、XiZhi、YiFengChuanHua、ZohoCliq、ZohoCliqWebHook、Zulip).

14642.7k1](/packages/guanguans-laravel-exception-notify)[regulus/activity-log

A clean and simple Laravel 5 activity logger for monitoring user activity on a website or web application.

164220.1k2](/packages/regulus-activity-log)

PHPackages © 2026

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