PackageTrack
Sign in Get early access

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 2026
2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 19
  1. 1.2.7 27 Mar 2026
    Release notes

    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 (string instead of string|bool)
    • Update all GitHub Actions to current versions

    Full Changelog: 1.2.6...1.2.7

    Open source →
    Release notes

    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 (string instead of string|bool)
    • Update all GitHub Actions to current versions

    Full Changelog: https://github.com/spatie/fork/compare/1.2.6...1.2.7

    Open source →
  2. 1.2.6 27 Mar 2026
    Release notes

    What's Changed

    • Fix truncation of large payloads by @obelloc in #83
    • Update CI to test PHP 8.0 through 8.5

    Full Changelog: 1.2.5...1.2.6

    Open source →
    Release notes

    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

    Open source →
  3. 1.2.5 24 Apr 2025
    Release notes

    What's Changed

    • Fix task exit status handling, uniformize process exit method and tests by @jchambon-equativ in #74

    New Contributors

    Full Changelog: 1.2.4...1.2.5

    Open source →
    Release notes

    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

    Open source →
  4. 1.2.4 27 Jan 2025
    Release notes

    What's Changed

    New Contributors

    Full Changelog: 1.2.3...1.2.4

    Open source →
    Release notes

    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

    Open source →
  5. 1.2.3 11 Dec 2024
    Release notes

    What's Changed

    New Contributors

    Full Changelog: 1.2.2...1.2.3

    Open source →
    Release notes

    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

    Open source →
  6. 1.2.2 07 Dec 2023
    Release notes

    What's Changed

    • Switch from kill-all-exit to a normal exit when a child is done by @puggan in #51

    New Contributors

    Full Changelog: 1.2.1...1.2.2

    Open source →
    Release notes

    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

    Open source →
  7. 1.2.1 23 Nov 2023
    Release notes

    What's Changed

    • Kill any forked tasks when force closed in terminal by @stevebauman in #48

    New Contributors

    Full Changelog: 1.2.0...1.2.1

    Open source →
    Release notes

    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

    Open source →
  8. 1.2.0 29 May 2023
    Release notes

    What's Changed

    • Listen signals for terminating process by @zKoz210 in #42

    Full Changelog: 1.1.3...1.2.0

    Open source →
    Release notes

    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

    Open source →
  9. 1.1.3 16 May 2023
    Release notes

    What's Changed

    New Contributors

    Full Changelog: 1.1.2...1.1.3

    Open source →
    Release notes

    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

    Open source →
  10. 1.1.2 03 Oct 2022
    Release notes

    What's Changed

    • fixes socket_select interrupted exception by @henzeb in #32

    New Contributors

    Full Changelog: 1.1.1...1.1.2

    Open source →
    Release notes

    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

    Open source →
  11. 1.1.1 09 Dec 2021
    Release notes
    • Proper handling of timeout microseconds
    Open source →
  12. 1.1.0 04 May 2021
    Release notes
    • Add Fork::concurrent(int $concurrent)
    Open source →
  13. 1.0.1 03 May 2021
    Release notes
    • Add check for pcntl support
    Open source →
  14. 1.0.0 28 Apr 2021
    Release notes
    • Initial release
    Open source →
  15. 0.0.5 no date

    Nothing published for this version

  16. 0.0.4 27 Apr 2021

    Nothing published for this version

  17. 0.0.3 26 Apr 2021

    Nothing published for this version

  18. 0.0.2 23 Apr 2021

    Nothing published for this version

  19. 0.0.1 22 Apr 2021

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive