PHPackages                             tarique/laravel-app-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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. tarique/laravel-app-monitor

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

tarique/laravel-app-monitor
===========================

A Laravel package to monitor application downtime and server errors, and send email notifications

1.0.3(2y ago)19MITBladePHP ^8.1

Since Jun 6Pushed 2y ago1 watchersCompare

[ Source](https://github.com/tariquedev/laravel-app-monitor)[ Packagist](https://packagist.org/packages/tarique/laravel-app-monitor)[ Docs](https://github.com/tariquedev/laravel-app-monitor)[ RSS](/packages/tarique-laravel-app-monitor/feed)WikiDiscussions master Synced yesterday

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

### Laravel App Monitor

[](#laravel-app-monitor)

Laravel App Monitor is a package designed to monitor specific HTTP errors in your Laravel application and notify administrators via email. It helps ensure that critical errors (like 500, 502, 503, 504, 413) are promptly reported, allowing administrators to take appropriate action.

### Installation

[](#installation)

You can install the Laravel App Monitor package via Composer. Run the following command in your terminal:

```
composer require tarique/laravel-app-monitor
```

### Publish Configuration

[](#publish-configuration)

To customize settings such as email recipients or error notifications, publish the configuration file:

```
php artisan vendor:publish --provider="Tarique\LaravelAppMonitor\AppMonitorServiceProvider" --tag=config
```

This will copy the configuration file to `config/appmonitor.php` and `app\Jobs\SendMonitorErrorNotification.php`.

### Environment Configuration

[](#environment-configuration)

Set the email address where notifications should be sent in your `.env` file:

```
ADMIN_EMAIL=admin@example.com
```

Make sure to replace `admin@example.com` with the appropriate email address.

Usage
-----

[](#usage)

Laravel App Monitor automatically detects and handles specific HTTP errors. Here's how you can use it effectively:

### Enable Error Notifications

[](#enable-error-notifications)

Ensure that error notifications are enabled in the `config/appmonitor.php` file:

```
return [
    'admin_email' => env('APPMONITOR_ADMIN_EMAIL', 'admin@example.com'),
    'notify_on_down' => env('APPMONITOR_NOTIFY_ON_DOWN', true),
    'notify_on_error' => env('APPMONITOR_NOTIFY_ON_ERROR', true),
    'error_codes' => [500, 502, 503, 504, 413],
];
```

### Customize Email Template (Optional)

[](#customize-email-template-optional)

If you want to customize the email template used for error notifications, you can publish the default template:

```
php artisan vendor:publish --provider="Tarique\LaravelAppMonitor\AppMonitorServiceProvider" --tag=views
```

This will copy the default email template to `resources/views/vendor/appmonitor/error_email.blade.php`, where you can modify it to suit your needs.

### Configure Queue (Optional)

[](#configure-queue-optional)

To avoid delaying frontend responses due to email sending, you can configure Laravel queues. Set the queue connection in your `.env` file:

```
QUEUE_CONNECTION=sync
```

If you are using QUEUE\_CONNECTION as a database you should

```
QUEUE_CONNECTION=database
```

Run the migration to create the jobs table:

```
php artisan queue:table
php artisan migrate
```

Start the queue worker to process jobs asynchronously:

```
php artisan queue:work
```

Support
-------

[](#support)

If you encounter any issues or have questions about using Laravel App Monitor, please [open an issue on GitHub](https://github.com/tarique/laravel-app-monitor) or contact the package maintainer directly.

License
-------

[](#license)

Laravel App Monitor is open-source software licensed under the [MIT license](https://opensource.org/licenses/MIT).

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

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 ~4 days

Total

2

Last Release

752d ago

PHP version history (2 changes)v1.0.0PHP ^8.2

1.0.3PHP ^8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/39570587?v=4)[Tarique Hasan](/maintainers/tariquedev)[@tariquedev](https://github.com/tariquedev)

---

Top Contributors

[![tariquedev](https://avatars.githubusercontent.com/u/39570587?v=4)](https://github.com/tariquedev "tariquedev (8 commits)")

---

Tags

laravellaravel-app-monitortariquedevlaravel-errorsTarique-Hasan

### Embed Badge

![Health badge](/badges/tarique-laravel-app-monitor/health.svg)

```
[![Health](https://phpackages.com/badges/tarique-laravel-app-monitor/health.svg)](https://phpackages.com/packages/tarique-laravel-app-monitor)
```

###  Alternatives

[unopim/unopim

UnoPim Laravel PIM

10.5k2.4k](/packages/unopim-unopim)[open-telemetry/opentelemetry-auto-laravel

OpenTelemetry auto-instrumentation for Laravel

592.7M9](/packages/open-telemetry-opentelemetry-auto-laravel)[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).

14845.8k1](/packages/guanguans-laravel-exception-notify)[api-platform/laravel

API Platform support for Laravel

58171.4k14](/packages/api-platform-laravel)[nightowl/agent

NightOwl monitoring agent — collects telemetry from laravel/nightwatch and writes to PostgreSQL

771.7k](/packages/nightowl-agent)[ecotone/laravel

Ecotone for Laravel — CQRS, Event Sourcing, Sagas, Durable Workflows, and Outbox on top of Laravel Queue, via PHP attributes.

21318.6k3](/packages/ecotone-laravel)

PHPackages © 2026

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