2017 © Pedro Peláez
 

library doorman

Child process management

image

asyncphp/doorman

Child process management

  • Thursday, February 16, 2017
  • by assertchris
  • Repository
  • 13 Watchers
  • 232 Stars
  • 128,991 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 19 Forks
  • 5 Open issues
  • 11 Versions
  • 12 % Grown

The README.md

Doorman

Build Status Code Quality Code Coverage Version License, (*1)

Child process management. Compatible from PHP 5.3 to PHP 7. Needs no extensions., (*2)

2.x supports PHP 5.5.9 and upwards. If you need PHP 5.3/4 support, use a 1.x release., (*3)

Usage

use AsyncPHP\Doorman\Manager\ProcessManager;
use AsyncPHP\Doorman\Task\ProcessCallbackTask;

$task1 = new ProcessCallbackTask(function () {
    print "in task 1";
});

$task2 = new ProcessCallbackTask(function () {
    print "in task 2";
});

$manager = new ProcessManager();

$manager->addTask($task1);
$manager->addTask($task2);

while ($manager->tick()) {
    usleep(250);
}

You can find more in-depth documentation in docs/en., (*4)

Want to know how it works, without digging through the code? Read this..., (*5)

Motivation

There are many great libraries that do something similar to this. They usually require additional extensions. This library aims to make child process management simple, and supported everywhere., (*6)

Other great libraries that do similar stuff:, (*7)

Versioning

This library follows Semver. According to Semver, you will be able to upgrade to any minor or patch version of this library without any breaking changes to the public API. Semver also requires that we clearly define the public API for this library., (*8)

All methods, with public visibility, are part of the public API. All other methods are not part of the public API. Where possible, we'll try to keep protected methods backwards-compatible in minor/patch versions, but if you're overriding methods then please test your work before upgrading., (*9)

Thanks

I'd like to thank SilverStripe for letting me work on fun projects like this. Feel free to talk to me about using the framework and CMS or working at SilverStripe., (*10)

The Versions

16/02 2017

dev-develop

dev-develop

Child process management

  Sources   Download

MIT

The Requires

 

The Development Requires

29/03 2016

dev-master

9999999-dev

Child process management

  Sources   Download

MIT

The Requires

  • jeremeamia/superclosure ^2.0
  • php >=5.5.9

 

The Development Requires

11/12 2015

dev-improve-rules-2

dev-improve-rules-2

Child process management

  Sources   Download

MIT

The Requires

 

The Development Requires

09/12 2015

dev-improve-rules

dev-improve-rules

Child process management

  Sources   Download

MIT

The Requires

 

The Development Requires

06/12 2015

3.0.0

3.0.0.0

Child process management

  Sources   Download

MIT

The Requires

  • jeremeamia/superclosure ^2.0
  • php >=5.5.9

 

The Development Requires

04/09 2015

2.0.0

2.0.0.0

Child process management

  Sources   Download

MIT

The Requires

  • jeremeamia/superclosure ^2.0
  • php >=5.5.9

 

The Development Requires

04/09 2015

1.x-dev

1.9999999.9999999.9999999-dev

Child process management

  Sources   Download

MIT

The Requires

 

The Development Requires

28/07 2015

1.2.0

1.2.0.0

Child process management

  Sources   Download

MIT

The Requires

 

The Development Requires

27/07 2015

1.1.1

1.1.1.0

Child process management

  Sources   Download

MIT

The Requires

 

The Development Requires

24/07 2015

1.1.0

1.1.0.0

Child process management

  Sources   Download

MIT

The Requires

 

The Development Requires

24/07 2015

1.0.0

1.0.0.0

Child process management

  Sources   Download

MIT

The Requires

 

The Development Requires