spatie/fork
A lightweight solution for running code concurrently in PHP
1.2.7
3.5M downloads/mo
#1729 most downloaded on Packagist
spatie/fork
What this package is like to depend on
Last release 4 months ago
27 Mar 2026
Release timing varies
gaps range from 1 weeks to 12 months
Most releases are documented
notes for 14 of 19 stable releases
Nothing withdrawn
no release was ever pulled
5 years old
19 releases · first in 2021
2 releases in the last 12 months
see the full history below
Release timeline
18 releases · Apr 2021 to Mar 2026Releases
latest 19-
1.2.727 Mar 2026Release notes
Open source →What's Changed
- Require PHP 8.3+
- Upgrade to Pest 4 / PHPUnit 12
- Replace php-cs-fixer with Laravel Pint
- Modernize phpunit.xml.dist for PHPUnit 12
- Use constructor property promotion and first-class callable syntax
- Fix
Task::execute()return type (stringinstead ofstring|bool) - Update all GitHub Actions to current versions
Full Changelog: 1.2.6...1.2.7
Release notes
Open source →What's Changed
- Require PHP 8.3+
- Upgrade to Pest 4 / PHPUnit 12
- Replace php-cs-fixer with Laravel Pint
- Modernize phpunit.xml.dist for PHPUnit 12
- Use constructor property promotion and first-class callable syntax
- Fix
Task::execute()return type (stringinstead ofstring|bool) - Update all GitHub Actions to current versions
Full Changelog: https://github.com/spatie/fork/compare/1.2.6...1.2.7
-
1.2.627 Mar 2026Release notes
Open source →What's Changed
- Fix truncation of large payloads by @obelloc in #83
- Update CI to test PHP 8.0 through 8.5
Full Changelog: https://github.com/spatie/fork/compare/1.2.5...1.2.6
-
1.2.524 Apr 2025Release notes
Open source →What's Changed
- Fix task exit status handling, uniformize process exit method and tests by @jchambon-equativ in #74
New Contributors
- @jchambon-equativ made their first contribution in #74
Full Changelog: 1.2.4...1.2.5
Release notes
Open source →What's Changed
- Fix task exit status handling, uniformize process exit method and tests by @jchambon-equativ in https://github.com/spatie/fork/pull/74
New Contributors
- @jchambon-equativ made their first contribution in https://github.com/spatie/fork/pull/74
Full Changelog: https://github.com/spatie/fork/compare/1.2.4...1.2.5
-
1.2.427 Jan 2025Release notes
Open source →What's Changed
- [REMOVE] PHP 8.4 deprecation warnings by @yabooodya in #66
New Contributors
- @yabooodya made their first contribution in #66
Full Changelog: 1.2.3...1.2.4
Release notes
Open source →What's Changed
- [REMOVE] PHP 8.4 deprecation warnings by @yabooodya in https://github.com/spatie/fork/pull/66
New Contributors
- @yabooodya made their first contribution in https://github.com/spatie/fork/pull/66
Full Changelog: https://github.com/spatie/fork/compare/1.2.3...1.2.4
-
1.2.311 Dec 2024Release notes
Open source →What's Changed
- Add a test to verify that child processes are isolated by @ahmadreza1383 in #64
- Interrupted system call is not handled well by @jochem-blok in #61
New Contributors
- @ahmadreza1383 made their first contribution in #64
- @jochem-blok made their first contribution in #61
Full Changelog: 1.2.2...1.2.3
Release notes
Open source →What's Changed
- Add a test to verify that child processes are isolated by @ahmadreza1383 in https://github.com/spatie/fork/pull/64
- Interrupted system call is not handled well by @jochem-blok in https://github.com/spatie/fork/pull/61
New Contributors
- @ahmadreza1383 made their first contribution in https://github.com/spatie/fork/pull/64
- @jochem-blok made their first contribution in https://github.com/spatie/fork/pull/61
Full Changelog: https://github.com/spatie/fork/compare/1.2.2...1.2.3
-
1.2.207 Dec 2023Release notes
Open source →What's Changed
- Switch from kill-all-exit to a normal exit when a child is done by @puggan in https://github.com/spatie/fork/pull/51
New Contributors
- @puggan made their first contribution in https://github.com/spatie/fork/pull/51
Full Changelog: https://github.com/spatie/fork/compare/1.2.1...1.2.2
-
1.2.123 Nov 2023Release notes
Open source →What's Changed
- Kill any forked tasks when force closed in terminal by @stevebauman in #48
New Contributors
- @stevebauman made their first contribution in #48
Full Changelog: 1.2.0...1.2.1
Release notes
Open source →What's Changed
- Kill any forked tasks when force closed in terminal by @stevebauman in https://github.com/spatie/fork/pull/48
New Contributors
- @stevebauman made their first contribution in https://github.com/spatie/fork/pull/48
Full Changelog: https://github.com/spatie/fork/compare/1.2.0...1.2.1
-
1.2.029 May 2023Release notes
Open source →What's Changed
- Listen signals for terminating process by @zKoz210 in https://github.com/spatie/fork/pull/42
Full Changelog: https://github.com/spatie/fork/compare/1.1.3...1.2.0
-
1.1.316 May 2023Release notes
Open source →What's Changed
- Refactor tests to Pest by @alexmanase in #33
- Fixed php-cs-fixer by @zKoz210 in #40
- Fixed tests for PHP 8.2 by @zKoz210 in #38
- Fixed #36 by @zKoz210 in #39
New Contributors
- @alexmanase made their first contribution in #33
- @zKoz210 made their first contribution in #40
Full Changelog: 1.1.2...1.1.3
Release notes
Open source →What's Changed
- Refactor tests to Pest by @alexmanase in https://github.com/spatie/fork/pull/33
- Fixed php-cs-fixer by @zKoz210 in https://github.com/spatie/fork/pull/40
- Fixed tests for PHP 8.2 by @zKoz210 in https://github.com/spatie/fork/pull/38
- Fixed #36 by @zKoz210 in https://github.com/spatie/fork/pull/39
New Contributors
- @alexmanase made their first contribution in https://github.com/spatie/fork/pull/33
- @zKoz210 made their first contribution in https://github.com/spatie/fork/pull/40
Full Changelog: https://github.com/spatie/fork/compare/1.1.2...1.1.3
-
1.1.203 Oct 2022Release notes
Open source →What's Changed
- fixes socket_select interrupted exception by @henzeb in https://github.com/spatie/fork/pull/32
New Contributors
- @henzeb made their first contribution in https://github.com/spatie/fork/pull/32
Full Changelog: https://github.com/spatie/fork/compare/1.1.1...1.1.2
-
1.1.109 Dec 2021 -
1.1.004 May 2021 -
1.0.103 May 2021 -
1.0.028 Apr 2021 -
0.0.5no dateNothing published for this version
-
0.0.427 Apr 2021Nothing published for this version
-
0.0.326 Apr 2021Nothing published for this version
-
0.0.223 Apr 2021Nothing published for this version
-
0.0.122 Apr 2021Nothing published for this version