PHPackages                             primipilus/daemon - 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. primipilus/daemon

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

primipilus/daemon
=================

base daemon

2.1.0(6y ago)23.2k2MITPHPPHP &gt;=7.1.0

Since Sep 14Pushed 6y ago2 watchersCompare

[ Source](https://github.com/primipilus/daemon)[ Packagist](https://packagist.org/packages/primipilus/daemon)[ Docs](https://github.com/primipilus/daemon)[ RSS](/packages/primipilus-daemon/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (7)Used By (0)

Daemon
------

[](#daemon)

Composer install
----------------

[](#composer-install)

```
composer require "primipilus/daemon:~2.0"
```

Usage
-----

[](#usage)

```
class TestDaemon extends \primipilus\daemon\BaseDaemon
{

    protected function process() : void
    {
       // ...
    }
}

$daemon = new TestDaemon(['daemonize' => true, 'runtimeDir' => __DIR__]);

$daemon->start();
// or
$daemon->stop();
```

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 84.6% 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 ~155 days

Total

6

Last Release

2383d ago

Major Versions

1.1.1 → 2.0.0-beta2019-02-18

### Community

Maintainers

![](https://www.gravatar.com/avatar/4bfadced1affd667d8970d27271e3d227b64a1f55951fe83ad4733b9013e4c71?d=identicon)[primipilus](/maintainers/primipilus)

---

Top Contributors

[![primipilus](https://avatars.githubusercontent.com/u/19665318?v=4)](https://github.com/primipilus "primipilus (22 commits)")[![explossive](https://avatars.githubusercontent.com/u/4973222?v=4)](https://github.com/explossive "explossive (3 commits)")[![spiilmusic](https://avatars.githubusercontent.com/u/11190533?v=4)](https://github.com/spiilmusic "spiilmusic (1 commits)")

---

Tags

daemon

### Embed Badge

![Health badge](/badges/primipilus-daemon/health.svg)

```
[![Health](https://phpackages.com/badges/primipilus-daemon/health.svg)](https://phpackages.com/packages/primipilus-daemon)
```

###  Alternatives

[arara/process

Provides a better API to work with processes on Unix-like systems

16861.7k2](/packages/arara-process)[vyants/yii2-daemon

Extension provides functionality for simple daemons creation and control

7859.0k](/packages/vyants-yii2-daemon)[graze/supervisor

:vertical\_traffic\_light: Process supervisor for PHP.

999.3k](/packages/graze-supervisor)

PHPackages © 2026

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