2017 © Pedro Peláez
 

library daemon

Run PHP scripts as a background daemon

image

orkestra/daemon

Run PHP scripts as a background daemon

  • Friday, January 25, 2013
  • by tyler-sommer
  • Repository
  • 2 Watchers
  • 5 Stars
  • 10 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

orkestra-daemon

Build Status, (*1)

Daemonize your PHP scripts to accomplish work in the background., (*2)

Note: This library requires that you install the Process Control and POSIX extensions., (*3)

Installation

The easiest way to add orkestra-common to your project is using composer., (*4)

Add orkestra-common to your composer.json file:, (*5)

``` json { "require": { "orkestra/daemon": "dev-master" } }, (*6)


Then run `composer install` or `composer update`. Usage ----- Currently, a worker must be a valid executable accepted by `pcntl_exec`. ``` php <?php require __DIR__ . '/vendor/autoload.php'; use Orkestra\Daemon\Daemon; $daemon = new Daemon(); $daemon->addWorker('/path/to/executable'); $daemon->execute();

The Versions

25/01 2013

dev-develop

dev-develop

Run PHP scripts as a background daemon

  Sources   Download

MIT

The Requires

  • php >=5.3.2
  • ext-pcntl *
  • ext-posix *

 

The Development Requires

31/12 2012

dev-master

9999999-dev

Run PHP scripts as a background daemon

  Sources   Download

MIT

The Requires

  • php >=5.3.2
  • ext-pcntl *
  • ext-posix *

 

The Development Requires

  • ext-test_helpers *
  • ext-runkit *

31/12 2012

1.0.0

1.0.0.0

Run PHP scripts as a background daemon

  Sources   Download

MIT

The Requires

  • php >=5.3.2
  • ext-pcntl *
  • ext-posix *

 

The Development Requires

  • ext-test_helpers *
  • ext-runkit *