PHPackages                             saeedvaziry/laravel-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. saeedvaziry/laravel-monitoring

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

saeedvaziry/laravel-monitoring
==============================

Monitor Laravel Hosted Servers

1.4.3(3y ago)17721.4k↓18.2%33[2 issues](https://github.com/saeedvaziry/laravel-monitoring/issues)MITPHPPHP ^7.1|^8.0

Since Jan 5Pushed 3y ago2 watchersCompare

[ Source](https://github.com/saeedvaziry/laravel-monitoring)[ Packagist](https://packagist.org/packages/saeedvaziry/laravel-monitoring)[ Fund](https://ko-fi.com/saeedvaziry)[ RSS](/packages/saeedvaziry-laravel-monitoring/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (4)Versions (16)Used By (0)

Laravel Monitoring
==================

[](#laravel-monitoring)

[![](https://camo.githubusercontent.com/2e4c215294191081e816e8bb2e5e64a25cc079cdc6d8b55afbae5059a4687c35/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f736165656476617a6972792f6c61726176656c2d6d6f6e69746f72696e672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/saeedvaziry/laravel-monitoring)[![](https://github.com/saeedvaziry/laravel-monitoring/workflows/tests/badge.svg)](https://github.com/saeedvaziry/laravel-monitoring/workflows/tests/badge.svg)

Monitor your Laravel applications server with a beautiful dashboard and get notified if anything gets wrong!

[![](demo.png)](demo.png)[![](demo2.png)](demo2.png)

Supported OS
------------

[](#supported-os)

This package works only on Linux servers.

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

[](#installation)

**1)** Install the latest version from composer

For PHP &gt;= 8.1

```
composer require saeedvaziry/laravel-monitoring
```

For PHP &lt;= 8.0

```
composer require saeedvaziry/laravel-monitoring "1.4.2"
```

**2)** Publish vendors

```
php artisan monitoring:publish
```

**3)** Run migrations

```
php artisan migrate
```

**4)** Set up a cronjob to collect data

```
* * * * * cd /path-to-your-project && php artisan monitoring:record
```

**5)** Visit `/monitoring` to see the statistics.

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

[](#configuration)

You can find the configuration at `config/monitoring.php`.

KeyDescription`instance_name`This is your current server's name, And the data will be collected under this name.`routes`You can change the URL prefix of the monitoring dashboard. Also, You can protect the route by applying middlewares to it.`models`If you want to customize the models, define yours and update this config.`chart_colors`Chart colors are customizable by this config.`notifications`Currently, we support `Slack` and `Email` channels for notifications. However, You can add your custom channels. To add a custom channel, Create a class and implement it by `SaeedVaziry\Monitoring\Channels\Channel` and then add the class to `channels` under the `notifications` item.Multi-Server support
--------------------

[](#multi-server-support)

Sometimes your source code is deployed to multiple servers.

For example, You have multiple webservers with a load balancer and another server for your Backoffice.

In this case, you just need to set a unique name for `MONITORING_INSTANCE_NAME` environment variable on each server, Of course, assuming that you have one database in common with all the servers that you want to monitor.

The result will be similar to the Demo picture.

Command
-------

[](#command)

You can use `php artisan monitoring:record` command to collect the data manually.

Facade
------

[](#facade)

Add the bellow line to your `config/app.php` file, Under the `allias`:

```
'aliases' => [
    ...
    'Monitoring' => \SaeedVaziry\Monitoring\Facades\Monitoring::class
    ...
];
```

With this Facade you can access the server's resource usages.

Example usages:

```
Monitoring::cpu()->usage(); // returns CPU usage
Monitoring::memory()->usage(); // returns Memory usage
Monitoring::disk()->usage(); // returns Disk usage
```

Purge Records
-------------

[](#purge-records)

Without purging, the `monitoring_records` table can accumulate records very quickly. To mitigate this, you should schedule the monitoring:purge Artisan command to run daily or any time you wish. You can also, Set the `purge_before` configuration at `config/monitoring.php`.

```
$schedule->command('monitoring:purge')->daily();
```

Contributing
------------

[](#contributing)

Please feel free to submit an issue or open a PR.

Credits
-------

[](#credits)

- [Laravel](https://laravel.com/)
- [Vue.js](https://vuejs.org/)
- [Tailwindcss](https://tailwindcss.com/)
- [Fontawesome Icons](https://fontawesome.com/)

License
-------

[](#license)

Laravel Monitoring is open-sourced software and licensed under the MIT License (MIT).

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity45

Moderate usage in the ecosystem

Community18

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 86.3% 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 ~32 days

Recently: every ~109 days

Total

15

Last Release

1143d ago

Major Versions

0.1.1 → 1.0.02022-01-06

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/61919774?v=4)[Saeed Vaziry](/maintainers/saeedvaziry)[@saeedvaziry](https://github.com/saeedvaziry)

---

Top Contributors

[![saeedvaziry](https://avatars.githubusercontent.com/u/61919774?v=4)](https://github.com/saeedvaziry "saeedvaziry (44 commits)")[![mm-saeedvaziry](https://avatars.githubusercontent.com/u/259303280?v=4)](https://github.com/mm-saeedvaziry "mm-saeedvaziry (3 commits)")[![StyleCIBot](https://avatars.githubusercontent.com/u/11048387?v=4)](https://github.com/StyleCIBot "StyleCIBot (3 commits)")[![abbasudo](https://avatars.githubusercontent.com/u/86796762?v=4)](https://github.com/abbasudo "abbasudo (1 commits)")

---

Tags

laravellaravel-frameworkmonitoring

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/saeedvaziry-laravel-monitoring/health.svg)

```
[![Health](https://phpackages.com/badges/saeedvaziry-laravel-monitoring/health.svg)](https://phpackages.com/packages/saeedvaziry-laravel-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)
