2017 © Pedro Peláez
 

library php-daemon

A base implementation of a UNIX daemon in PHP

image

vvondra/php-daemon

A base implementation of a UNIX daemon in PHP

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 2 Versions
  • 1 % Grown

The README.md

A simple unix daemon in PHP

Build Status, (*1)

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., (*2)

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.., (*3)

Simply subclass it and implement the run() method. You might find the React Event Loop useful if you want an alternative to sleeping., (*4)

The Versions

11/10 2016

dev-master

9999999-dev

A base implementation of a UNIX daemon in PHP

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-posix *

 

31/08 2013

v1.0.0

1.0.0.0

A base implementation of a UNIX daemon in PHP

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-posix *