2017 © Pedro Peláez
 

library process-pool

image

andersondanilo/process-pool

  • Saturday, May 26, 2018
  • by andersondanilo
  • Repository
  • 2 Watchers
  • 3 Stars
  • 672 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 6620 % Grown

The README.md

PHP Process Pool

Latest Version Total Downloads CI, (*1)

PHP Process Pool is a simple process pool using symfony process, (*2)

use ProcessPool\ProcessPool;
use Symfony\Component\Process\Process;

function processGenerator($count) {
    for ($i = 0; $i < 10; $i++) {
        yield new Process(['sleep', $i]);
    }
}

$processes = processGenerator(10);
$pool = new ProcessPool($processes);
$pool->setConcurrency(2);
$pool->wait();

The Versions

26/05 2018

dev-master

9999999-dev

  Sources   Download

MIT

The Requires

 

The Development Requires

by Anderson Danilo

26/05 2018

v1.0.0

1.0.0.0

  Sources   Download

MIT

The Requires

 

The Development Requires

by Anderson Danilo