Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 568 Bytes

README.md

File metadata and controls

26 lines (17 loc) · 568 Bytes

Simple PHP Daemon library

Proof of concept

Creating daemons and managing them easily using PHP.

Supports posix signals for ending child processes nicely.

Auto respawn, in case one of the childs exists and the parallel count is not met.

To run:

$ git clone https://github.com/avargas/php-daemon
$ cd php-daemon
$ git submodule update --init --recursive
$ php examples/simple_respawn.php

TODO:

  • Daemon functionality (running by itself)
  • Auto respawn on HUP
  • Documentation
  • Unit Testing