PHPackages                             mondalaci/supervisor-client - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. mondalaci/supervisor-client

Abandoned → [supervisorphp/supervisor](/?search=supervisorphp%2Fsupervisor)Library[Utility &amp; Helpers](/categories/utility)

mondalaci/supervisor-client
===========================

PHP library for supervisord

5923.5k183PHP

Since Jan 19Pushed 11y ago5 watchersCompare

[ Source](https://github.com/mondalaci/supervisord-php-client)[ Packagist](https://packagist.org/packages/mondalaci/supervisor-client)[ RSS](/packages/mondalaci-supervisor-client/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (3)

> **DEPRECATION NOTICE**

> Even though this package is known to be fully functional and free of bugs I do not proactively develop it anymore. I try to address issues and PRs but you're rather encouraged to use SupervisorPHP which is a more fully fledged library.

>

> For details see

supervisord PHP client
======================

[](#supervisord-php-client)

A PHP client library for [supervisor](http://supervisord.org) which utilizes [its XML-RPC interface](http://supervisord.org/api.html).

This package has been submitted to Packagist so you can install it [from there](https://packagist.org/packages/mondalaci/supervisor-client).

Usage
-----

[](#usage)

1. Include the library and import the class:

```
require 'SupervisorClient.php';
use SupervisorClient\SupervisorClient;
```

2A) Instantiate the client for [\[unix\_http\_server\]](http://supervisord.org/configuration.html#unix-http-server-section-values) configuration:

```
$supervisor = new SupervisorClient('unix:///var/run/supervisor.sock');
```

2B) Instantiate the client for [\[inet\_http\_server\]](http://supervisord.org/configuration.html#inet-http-server-section-values) configuration:

```
$supervisor = new SupervisorClient('YourDomain.com', 9001);
```

3. Set up authentication and/or connection timeout:

```
$supervisor->setAuth('username', 'password');
$supervisor->setTimeout(10000);  // microseconds
```

4. Make an RPC call and dump its result:

```
$allProcessInfo = $supervisor->getAllProcessInfo();
var_dump($allProcessInfo);
```

The dumped result of the RPC call:

```
array(2) {
  [0]=>
  array(14) {
    ["description"]=>
    string(24) "pid 3194, uptime 4:45:46"
    ["pid"]=>
    int(3194)
    ["stderr_logfile"]=>
    string(0) ""
    ["stop"]=>
    int(0)
    ["logfile"]=>
    string(49) "/var/log/supervisor/program1.log"
    ["exitstatus"]=>
    int(0)
    ["spawnerr"]=>
    string(0) ""
    ["now"]=>
    int(1346181399)
    ["group"]=>
    string(25) "group1"
    ["name"]=>
    string(25) "program1"
    ["statename"]=>
    string(7) "RUNNING"
    ["start"]=>
    int(1346164253)
    ["state"]=>
    int(20)
    ["stdout_logfile"]=>
    string(49) "/var/log/supervisor/program1.log"
  }
  [1]=>
  array(14) {
    ["description"]=>
    string(24) "pid 3241, uptime 4:45:45"
    ["pid"]=>
    int(3241)
    ["stderr_logfile"]=>
    string(0) ""
    ["stop"]=>
    int(0)
    ["logfile"]=>
    string(42) "/var/log/supervisor/program2.log"
    ["exitstatus"]=>
    int(0)
    ["spawnerr"]=>
    string(0) ""
    ["now"]=>
    int(1346181399)
    ["group"]=>
    string(8) "group2"
    ["name"]=>
    string(18) "program2"
    ["statename"]=>
    string(7) "RUNNING"
    ["start"]=>
    int(1346164254)
    ["state"]=>
    int(20)
    ["stdout_logfile"]=>
    string(42) "/var/log/supervisor/program2.log"
  }
}

```

Enjoy!

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity35

Limited adoption so far

Community26

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 82.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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/5e5c6a8e0a1eb194e45b33c361596e2ccb6342b7ecec3b69af9e988b01653ffb?d=identicon)[mondalaci](/maintainers/mondalaci)

---

Top Contributors

[![mondalaci](https://avatars.githubusercontent.com/u/300402?v=4)](https://github.com/mondalaci "mondalaci (65 commits)")[![piwi91](https://avatars.githubusercontent.com/u/667095?v=4)](https://github.com/piwi91 "piwi91 (3 commits)")[![glaslos](https://avatars.githubusercontent.com/u/716339?v=4)](https://github.com/glaslos "glaslos (2 commits)")[![hlecorche](https://avatars.githubusercontent.com/u/188749?v=4)](https://github.com/hlecorche "hlecorche (2 commits)")[![ivan1986](https://avatars.githubusercontent.com/u/156418?v=4)](https://github.com/ivan1986 "ivan1986 (2 commits)")[![j-schumann](https://avatars.githubusercontent.com/u/114239?v=4)](https://github.com/j-schumann "j-schumann (2 commits)")[![Stelian](https://avatars.githubusercontent.com/u/195211?v=4)](https://github.com/Stelian "Stelian (1 commits)")[![DavidMikeSimon](https://avatars.githubusercontent.com/u/350396?v=4)](https://github.com/DavidMikeSimon "DavidMikeSimon (1 commits)")[![chaud](https://avatars.githubusercontent.com/u/453884?v=4)](https://github.com/chaud "chaud (1 commits)")

### Embed Badge

![Health badge](/badges/mondalaci-supervisor-client/health.svg)

```
[![Health](https://phpackages.com/badges/mondalaci-supervisor-client/health.svg)](https://phpackages.com/packages/mondalaci-supervisor-client)
```

###  Alternatives

[based/momentum-trail

Fully typed frontend route helper for Laravel apps

80389.6k](/packages/based-momentum-trail)[kornrunner/secp256k1

Pure PHP secp256k1

37566.4k109](/packages/kornrunner-secp256k1)

PHPackages © 2026

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