Skip to content

alchemy-fr/ProcessManager

 
 

Repository files navigation

PHP Process Manager

This is based on SYmfony Process and the work done in symfony/symfony#8753.

Build Status

Usage examples

Run 4 jobs in parallel

$manager = new Neutron\ProcessManager\ProcessManager();
$manager
    ->add(new Process('...'))
    ->add(new Process('...'))
    ->add(new Process('...'))
    ->add(new Process('...'))
    ->run();

Run 4 jobs in queue

$manager = new Neutron\ProcessManager\ProcessManager();
$manager
    ->setMaxParallelProcesses(1)
    ->add(new Process('...'))
    ->add(new Process('...'))
    ->add(new Process('...'))
    ->add(new Process('...'))
    ->run();

License

This is released under the MIT License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%