Ross ROSS = Recommend OSS · open-source software intelligence for agents

spatie/fork

A lightweight solution for running code concurrently in PHP observed · 2026-08-28

github.com/spatie/fork · homepage · PHP · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

81/100

  • Activity 85
  • Release rhythm 65
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: 66.0
  • age_days: 1959
  • days_rel: 159
  • days_push: 92
  • n_releases_24m: 5

Full methodology

Adoption not part of the score

1046 stars · 114 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

A lightweight PHP library for running code concurrently by forking the main PHP process into child tasks. It lets you pass multiple closures to a single run call and collect their return values, requiring PHP 8 with the pcntl extension in CLI contexts.

Use cases

  • run multiple slow API calls in parallel from PHP
  • execute closures concurrently in a PHP CLI script
  • speed up batch processing by forking PHP processes
  • parallelize independent tasks in PHP without async complexity
  • fan out work to child processes and collect results

When to choose

  • you need simple process-based concurrency in PHP CLI scripts
  • you want a minimal API without learning async frameworks
  • your tasks are independent and communicate only via return values

When to avoid

  • you need concurrency in a web (non-CLI) request context, since pcntl is unavailable there
  • you need shared memory or message passing between tasks
  • you target Windows or environments without the pcntl extension

Facets

library · maturity active

concurrency developer-tools developer-tools performance cli php process-forking pcntl parallel-execution php linux macos

4 sources

Member repositories

RepositoryRoleHealth v2
spatie/forkmain81

For agents

markdown · JSON · MCP: product_card(name="spatie/fork")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem