Forker A PHP helper to fork processes and allow multi-threading

Getting Started

Usage

Adapters

Setup

View the API Documentation for this class

All classes are in the duncan3dc\Forker namespace.

By default all you need to do is create a new instance, and it will figure out whether to use PCNTL or not.

require_once __DIR__ . "vendor/autoload.php";

use duncan3dc\Forker\Fork;

$fork = new Fork;