Fork

github.com/spatie/fork Web Development Open-source projectOpen source

Run PHP code concurrently by forking work into child processes with the Spatie Fork package.

github.com/spatie/fork
Fork homepage screenshot

About Fork

Fork is a PHP package for running closures concurrently by forking the main PHP process into child tasks. The run method returns the closures' return values in an array. It requires PHP 8 and the pcntl extension for CLI processes, with posix needed for process termination on Alpine Linux.

Pricing is not clearly stated.

Key features

  • Run before and after callbacks in child processes around each task
  • Run before and after callbacks in the parent process
  • Limit the maximum number of concurrent processes

Fork at a glance

Type
Open-source project
Pricing
Not confirmed. Check the site
Platforms
Linux
Details verified
Oct 22, 2026 · Official source
Open source
Yes · Source code
Language
English
Last checked
Oct 5, 2026 · Online when checked
Listed
Oct 5, 2026

Fork alternatives

Tools and sites you could use instead, ranked by how closely they match.

All 14 alternatives

Popular in Web Development

Well-known listings from the same topic.

All 122
Is something wrong or out of date?

Tell us and an editor will check it.

Own this website?

Claim the listing and suggest updates yourself. An editor checks every claim first.

Claim this listing