Skip to content

avargas/php-daemon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

PHP Daemon library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages