spatie/fork
Runs PHP closures concurrently by forking the main process into child tasks, returning their results in the order the closures were passed. It supports before and after hooks in both parent and child, a concurrency limit, exception capture with a catch callback, ordered completion callbacks, and pcntl_alarm-based timeouts, with serialized return values including objects. It requires PHP 8 and the pcntl extension and works only in CLI processes, not in a web context.
Maintenance activity