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

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

vvondra/php-daemon
==================

A base implementation of a UNIX daemon in PHP

v1.0.0(12y ago)11581MITPHPPHP &gt;=5.3.0

Since Aug 31Pushed 9y agoCompare

[ Source](https://github.com/vvondra/php-daemon)[ Packagist](https://packagist.org/packages/vvondra/php-daemon)[ RSS](/packages/vvondra-php-daemon/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (2)Used By (0)

A simple unix daemon in PHP
===========================

[](#a-simple-unix-daemon-in-php)

[![Build Status](https://camo.githubusercontent.com/4c051bf7390745d409d598c397ea275e505ae53b1582b10717d88275fc3b843c/68747470733a2f2f7472617669732d63692e6f72672f76766f6e6472612f7068702d6461656d6f6e2e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/vvondra/php-daemon)

If you're comfortable with PHP and want to have a PHP script running as a daemon (meaning you can leave it running in the background, stop, restart it and check it's status) this class provides a basic implementation of the necessary features.

Running a script as a daemon can be more convenient than a CRON triggered task and you can be sure it will be running in only one process at a time..

Simply subclass it and implement the run() method. You might find the [React Event Loop](https://github.com/reactphp/event-loop) useful if you want an alternative to sleeping.

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

Unknown

Total

1

Last Release

4686d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0c452e34a393604d6b5be19baded9d6763b713c70af581e996c91b99186c45fa?d=identicon)[Vojtěch Vondra](/maintainers/Vojt%C4%9Bch%20Vondra)

---

Top Contributors

[![vvondra](https://avatars.githubusercontent.com/u/101691?v=4)](https://github.com/vvondra "vvondra (8 commits)")

### Embed Badge

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

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

###  Alternatives

[kittinan/php-promptpay-qr

PHP Library to generate QR Code payload for PromptPay

4954.2k](/packages/kittinan-php-promptpay-qr)

PHPackages © 2026

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