PHPackages                             kinulab/process-monitoring-bundle - 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. kinulab/process-monitoring-bundle

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

kinulab/process-monitoring-bundle
=================================

A simple monitoring service to check state of Process

1486[1 PRs](https://github.com/kinulab/process-monitoring-bundle/pulls)PHP

Since Jan 17Pushed 8y ago2 watchersCompare

[ Source](https://github.com/kinulab/process-monitoring-bundle)[ Packagist](https://packagist.org/packages/kinulab/process-monitoring-bundle)[ RSS](/packages/kinulab-process-monitoring-bundle/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (3)Used By (0)

Monitoring process Bundle
=========================

[](#monitoring-process-bundle)

[![Build Status](https://camo.githubusercontent.com/2ab63712fdcf52aaaa49b68e3e4316e83799ecdd26ebc81c89d0599c3df0de01/68747470733a2f2f7472617669732d63692e6f72672f6b696e756c61622f70726f636573732d6d6f6e69746f72696e672d62756e646c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/kinulab/process-monitoring-bundle)[![Coverage Status](https://camo.githubusercontent.com/30a5a5405f2da121e897723b6e55723e435232a29d175ad98569f0d38819a2f7/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6b696e756c61622f70726f636573732d6d6f6e69746f72696e672d62756e646c652f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/kinulab/process-monitoring-bundle?branch=master)

This bundle try to solve the following problem

```
How to be sure that a given service is running from 7am to 7pm ?
If the service fall it must be restarted. And how do be sure that
a service is NOT running from 7pm to 7am ? If the service is
running it must be stopped.

```

We can do it with cron but that need a few lines :

- to start the service,
- stop it at the end of day,
- check every minute from 7am to 7pm that the service is running,
- then check every minutes from 7pm to 7am that the service is not running.

If there is only one service like that, it's ok. But when there is more, it become hard to maintain.

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

[](#installation)

```
composer require kinulab/process-monitoring-bundle:^1.0
```

add in your `app/AppKernel.php` :

```
    public function registerBundles()
    {
        $bundles = [
            // ...
            new Kinulab\ProcessMonitoringBundle\KinulabProcessMonitoringBundle(),
        ];
    }
```

How to use it ?
---------------

[](#how-to-use-it-)

Register a symfony service that implements the `Kinulab\ProcessMonitoringBundle\Service\ServiceDescriptorInterface`.

Tag this service as `monitored.service`.

Then ensure yourself that the `bin/console monitor:services` command is constantly running. For that, you can use cron, monit, supervisord or whatever you prefer to use.

Usage
-----

[](#usage)

### Events

[](#events)

During the monitoring, some event are dispatched :

EventDescription`monitoring.services.starting`When the monitor has been requested to start, but still did nothing`monitoring.services.started`When the monitor has checked for the first time each services for planification`monitoring.services.stopping`When the monitor has been requested to stop, but still did nothing`monitoring.services.stopped`When the monitor has stopped every services

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity44

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.

### Community

Maintainers

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

---

Top Contributors

[![nykopol](https://avatars.githubusercontent.com/u/2706685?v=4)](https://github.com/nykopol "nykopol (15 commits)")

---

Tags

symfonysymfony-bundle

### Embed Badge

![Health badge](/badges/kinulab-process-monitoring-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/kinulab-process-monitoring-bundle/health.svg)](https://phpackages.com/packages/kinulab-process-monitoring-bundle)
```

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B10.9k](/packages/psr-log)[open-telemetry/api

API for OpenTelemetry PHP.

1938.5M263](/packages/open-telemetry-api)[open-telemetry/sdk

SDK for OpenTelemetry PHP.

2326.5M317](/packages/open-telemetry-sdk)[illuminated/console-logger

Logging and Notifications for Laravel Console Commands.

8676.7k](/packages/illuminated-console-logger)

PHPackages © 2026

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