quazardous / php-daemon
A Very Basic PHP Daemon
Installs: 14
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/quazardous/php-daemon
Requires
- php: >=7.1.0
- ext-pcntl: *
- phpunit/phpunit: ^6.2
- psr/log: ^1.0
This package is auto-updated.
Last update: 2025-10-05 09:37:19 UTC
README
A Very Basic PHP Daemon
usage
composer require quazardous/php-daemon
wtf (what's the functionality ?)
A main loop is waiting for something to do. The daemon creates process for each task. The process uses pcntl functions to create child process to run the given task.
soft/hard max
For each group/family of tasks you can set soft or hard max.
Soft max is handled with a weight system.