PHPackages                             watchowl/cake-server-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. watchowl/cake-server-monitor

ActiveCakephp-plugin[Logging &amp; Monitoring](/categories/logging)

watchowl/cake-server-monitor
============================

Server Monitor built with CakePHP 3

1.0.0(8y ago)3271[1 issues](https://github.com/watchowl/cake-server-monitor/issues)MITPHP

Since Oct 30Pushed 8y ago1 watchersCompare

[ Source](https://github.com/watchowl/cake-server-monitor)[ Packagist](https://packagist.org/packages/watchowl/cake-server-monitor)[ RSS](/packages/watchowl-cake-server-monitor/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

CakeServerMonitor
-----------------

[](#cakeservermonitor)

CakePHP 3 Plugin for Monitoring Server Stats

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

[](#installation)

- To install the CakeServerMonitor plugin, you can use composer. From your application's ROOT directory (where composer.json file is located) run the following:

    `composer require watchowl/cake-server-monitor`
- You will need to add the following line to your application's `config/bootstrap.php` file:

    `Plugin::load('Watchowl/CakeServerMonitor',['bootstrap' => true]);`

Notification
------------

[](#notification)

CakeServerMonitor currently supports notification via email. You can configure recipients' email addresses in your applications 'config/bootstrap.php' file using overwriting the *CakeServerMonitor.email.recipients* key:

```
Configure::write(
    'CakeServerMonitor.email.recipients',
    ['my-first-email@address.com','my-second-email@address.com']
);
```

Scheduling task
---------------

[](#scheduling-task)

The last step to make this work is to add a cron job. You can do so by adding a similar line as shown below to your system's crontab file. Do remember to update the path to your own project. The following cron job runs at 1 am every day, you can change it to your own preference.

`* 1 * * * cd path && bin/cake monitor run`

Customisation
-------------

[](#customisation)

CakeServerMonitor does provide some customisation options.

- **Changing email profile**

by default CakeServerMonitor uses the *default*profile to send an email. You can change it to your own preference using the *CakeServerMonitor.email.profile* key:

```
Configure::write(
    'CakeServerMonitor.email.profile',
    'debug'
);
```

- **Changing checking stats**

by default CakeServerMonitor checks following stats:

- Disk Space
- MySql Process
- Nginx Process
- Php5Fpm Process

Under the hood, each checker is actually a class under WatchOwl namespace. You can overwrite what checkers to run via the *CakeServerMonitor.commands* key:

```
Configure::write(
    'CakeServerMonitor.commands',
    [
        'disk_space' => 'WatchOwl\CakeServerMonitor\CommandDefinition\DiskSpace',
        'mysql' => 'WatchOwl\CakeServerMonitor\CommandDefinition\MySql',
        'nginx' => 'WatchOwl\CakeServerMonitor\CommandDefinition\Nginx',
        'php5fpm' => 'WatchOwl\CakeServerMonitor\CommandDefinition\Php5Fpm',
    ]
);
```

You can remove any checkers above so it won't run.

- **Creating your own checker**

As you might have already guessed, you can create your own checker to extend CakeServerMonitor's abilities. To do so, creates a class extends from *WatchOwl\\CakeServerMonitor\\CommandDefinition\\CommandDefinition* abstract class and implement its defined abstract methods.

After that, add your own checker to the *CakeServerMonitor.commands* key as shown in previous section.

Helper methods
--------------

[](#helper-methods)

To view current server stats:

`bin/cake server_monitor view`

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 95.5% 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

Unknown

Total

1

Last Release

3165d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/32160403?v=4)[Li](/maintainers/watchowl)[@watchowl](https://github.com/watchowl)

---

Top Contributors

[![watchowl](https://avatars.githubusercontent.com/u/32160403?v=4)](https://github.com/watchowl "watchowl (21 commits)")[![curtisgibby](https://avatars.githubusercontent.com/u/1086964?v=4)](https://github.com/curtisgibby "curtisgibby (1 commits)")

---

Tags

cakephp3monitoringserver

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/watchowl-cake-server-monitor/health.svg)

```
[![Health](https://phpackages.com/badges/watchowl-cake-server-monitor/health.svg)](https://phpackages.com/packages/watchowl-cake-server-monitor)
```

###  Alternatives

[cakephp/debug_kit

CakePHP Debug Kit

86314.7M162](/packages/cakephp-debug-kit)[cakephp/bake

Bake plugin for CakePHP

11212.0M192](/packages/cakephp-bake)[dereuromark/cakephp-ide-helper

CakePHP IdeHelper Plugin to improve auto-completion

1902.3M40](/packages/dereuromark-cakephp-ide-helper)[dereuromark/cakephp-tools

A CakePHP plugin containing lots of useful and reusable tools

3361.0M49](/packages/dereuromark-cakephp-tools)[dereuromark/cakephp-queue

The Queue plugin for CakePHP provides deferred task execution.

308914.0k25](/packages/dereuromark-cakephp-queue)[dereuromark/cakephp-tinyauth

A CakePHP plugin to handle user authentication and authorization the easy way.

131237.3k13](/packages/dereuromark-cakephp-tinyauth)

PHPackages © 2026

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