# krakjoe/parallel

A succinct parallel concurrency API for PHP8

Repository: https://github.com/krakjoe/parallel
Canonical: https://ross.abutalabs.com/products/krakjoe-parallel
Language: C
License: NOASSERTION
License Family: other
Last push: 2026-08-25T17:33:54+00:00

## Health v2 (maintenance only)
Score: 92/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 77, longevity 100
- inputs: {"age_days": 2760, "days_push": 8, "days_rel": 73, "gap_med": 46.5, "n_releases_24m": 11}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1594, forks 97 (observed 2026-08-28T04:05:09.128504+00:00)

## What it is
A PHP 8 extension written in C providing a succinct parallel concurrency API with Runtime, Future, and Channel primitives for true multithreading. It is documented in the official PHP manual and maintained by Joe Watkins (krakjoe).

## Use cases
- run PHP closures in parallel threads
- execute CPU-bound work concurrently in PHP
- offload blocking tasks to background runtimes
- communicate between threads with channels
- get results from parallel tasks via futures
- speed up batch processing in PHP scripts

## When to choose
- you need true parallelism (not async) in PHP 8
- you have CPU-bound workloads that block the request
- you want a low-level, succinct threading API for PHP
- you are comfortable installing and managing PHP extensions

## When to avoid
- you only need async I/O (use ReactPHP, Swoole, or Fibers instead)
- you are on PHP 7 or earlier
- you cannot install C extensions on your hosting environment
- your workload is I/O-bound and single-threaded execution suffices

## Facets
- artifact type: library
- maturity: active
- function: concurrency
- domain: developer-tools, backend
- platform: windows, php
- tags: php-extension, parallelism, threads, php8, c-extension, linux, macos

## Member repositories
- krakjoe/parallel (main) score 92

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:09.128504+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:54:12.725604+00:00, confidence not recorded.
  - readme: https://github.com/krakjoe/parallel (fetched 2026-08-28T04:05:09.128504+00:00, sha 9ccfac756a65)
- Data as of 2026-08-30T08:39:29.467469+00:00.
