PHPackages                             serff/pm2-manager - 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. serff/pm2-manager

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

serff/pm2-manager
=================

Monitor Library for PM2

0.0.1(4y ago)05MITPHPPHP ^7.4|8.\*

Since Apr 3Pushed 4y ago1 watchersCompare

[ Source](https://github.com/SERFF/Pm2Manager)[ Packagist](https://packagist.org/packages/serff/pm2-manager)[ RSS](/packages/serff-pm2-manager/feed)WikiDiscussions master Synced today

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

Manage PM2 Processes
====================

[](#manage-pm2-processes)

[![Latest Version on Packagist](https://camo.githubusercontent.com/09dcc66bc48ffeba67f41f715a32db03ba015045c984f4975070545a085f8835/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73657266662f706d322d6d616e616765722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/serff/pm2-manager)[![Tests](https://github.com/SERFF/Pm2Manager/actions/workflows/tests.yml/badge.svg)](https://github.com/SERFF/Pm2Manager/actions/workflows/tests.yml)

This package contains a manager for PM2 processes

```
use SERFF\Pm2Manager\Pm2Manager;

$process = Pm2Manager::add('ping google.con'); // returns a process to handle

$process->restart(); // restarts the process
```

You can use various methods for managing PM2 or a process

```
Pm2Manager::restartAll(); // restart all processes

Pm2Manager::list(); // returns a list of all processes
```

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

[](#installation)

You can install the package via composer:

```
composer require serff/pm2-manager
```

### Testing

[](#testing)

```
composer test
```

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 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

Unknown

Total

1

Last Release

1551d ago

### Community

Maintainers

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

---

Top Contributors

[![SERFF](https://avatars.githubusercontent.com/u/588086?v=4)](https://github.com/SERFF "SERFF (9 commits)")

---

Tags

Serffpm2-manager

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/serff-pm2-manager/health.svg)

```
[![Health](https://phpackages.com/badges/serff-pm2-manager/health.svg)](https://phpackages.com/packages/serff-pm2-manager)
```

###  Alternatives

[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k38.9k](/packages/matomo-matomo)[spatie/laravel-health

Monitor the health of a Laravel application

87512.0M162](/packages/spatie-laravel-health)[spatie/flare-client-php

Send PHP errors to Flare

177161.5M22](/packages/spatie-flare-client-php)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[illuminate/console

The Illuminate Console package.

13046.0M6.4k](/packages/illuminate-console)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M568](/packages/shopware-core)

PHPackages © 2026

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