PHPackages                             filippo-toso/php-supervisor - 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. filippo-toso/php-supervisor

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

filippo-toso/php-supervisor
===========================

A simple supervisor class that allows to run long lived PHP scripts from the crontab

v1.0.1(4y ago)012MITPHPPHP ^7.2 || ^8.0

Since Aug 19Pushed 4y ago1 watchersCompare

[ Source](https://github.com/filippotoso/php-supervisor)[ Packagist](https://packagist.org/packages/filippo-toso/php-supervisor)[ RSS](/packages/filippo-toso-php-supervisor/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (3)Used By (0)

PHP Supervisor
==============

[](#php-supervisor)

A simple supervisor tool that allows to run PHP long running scripts through crontab.

Requirements
------------

[](#requirements)

- PHP 5.6+

Installing
----------

[](#installing)

Use Composer to install it:

```
composer require filippo-toso/php-supervisor

```

Using It
--------

[](#using-it)

Create a simple PHP script with a code like the following:

```
use FilippoToso\PhpSupervisor\Supervisor;

Supervisor::run(function() {
    // Do your long lived stuff here
}, __DIR__ . '/lock.dat', __DIR__ . '/stop.dat');

```

Then call the script every minute from the crontab. The code in the closure will be kept running untill the $stopFile specified in the third parameter exists (`stop.dat` in the example).

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

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.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

1778d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/55d89f2d44fb12225de2119994028ee69e36770bcf33c2b1ddf0d6672d28151b?d=identicon)[filippo.toso](/maintainers/filippo.toso)

---

Top Contributors

[![filippotoso](https://avatars.githubusercontent.com/u/26958813?v=4)](https://github.com/filippotoso "filippotoso (2 commits)")

### Embed Badge

![Health badge](/badges/filippo-toso-php-supervisor/health.svg)

```
[![Health](https://phpackages.com/badges/filippo-toso-php-supervisor/health.svg)](https://phpackages.com/packages/filippo-toso-php-supervisor)
```

PHPackages © 2026

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