Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Parallel Functions Laravel Package

amphp/parallel-functions

Wrap callables to run in parallel processes/threads with AMPHP. Provides helpers like parallelMap to execute CPU-heavy or blocking tasks concurrently; callable state must be serializable. Built for PHP 8.1+ with fibers-friendly concurrency.

View on GitHub
Deep Wiki
Context7
v2.0.0

Stable release compatible with AMPHP v3 and fibers! 🎉

As with other libraries compatible with AMPHP v3, most cases of parameters or returns of Promise<ResolutionType> have been replaced with ResolutionType.

v1.1.0

What's Changed

  • Update to laravel/serializable-closure instead of opis/closure by @owenvoke
  • Increase minimum PHP version to PHP 7.4 by @owenvoke

New Contributors

Full Changelog: https://github.com/amphp/parallel-functions/compare/v1.0.0...v1.1.0

v1.0.0
  • Removed compatibility with amphp/parallel < 1.1
  • Changed the parallel function to throw a SerializationException instead of an Error if serialization fails
v0.1.3
  • Any serializable callable can now be used with the functions in this library, including class instance methods and static methods. Like user-defined functions, class definitions must be autoloadable by the composer autoloader.
v0.1.2
  • Fixed amphp/amp requirement to ensure correct output order.
v0.1.1
  • Added optional $pool parameter to allow using custom pools instead of the default pool of amphp/parallel.
v0.1.0
  • Initial release.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
nexmo/api-specification
capell-app/block-library
axium/identity
cetria/laravel-dummy-models
cetria/reflection-helper
agropredict/sso-auth-bundle
evolvestudio/spam-protection
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
develia/geo-bundle
dreamzy/livewire-charts
touchestate-sdk/php-sdk
ecotone/kafka
22h/doctrine-garbage-collection-bundle
agtp/agtp-php
agtp/mod-php
splash/sonata-admin
splash/metadata