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

Promises Laravel Package

guzzlehttp/promises

Iterative promise chaining for infinite async operations with Guzzle HTTP. Supports Promises/A+ compliance, coroutine-style await via Coroutine::of(), and synchronous wait() method. Cancel promises mid-execution and handle rejection/fulfillment callbacks cleanly. Works with any object with a then()...

View on GitHub
Deep Wiki
Context7
2.4.1

Fixed

  • Fixed cancelling settled coroutines when no current promise remains
2.4.0

Changed

  • Empty EachPromise instances now resolve when the task queue runs without wait()
2.3.1

Fixed

  • Fixed Utils::inspect() returning the internal reason array instead of the AggregateException
2.3.0

Added

  • PHP 8.5 support
2.2.0

Fixed

  • Revert "Allow an empty EachPromise to be resolved by running the queue"
2.1.0

Added

  • Allow an empty EachPromise to be resolved by running the queue
2.0.4

Fixed

  • Once settled, don't allow further rejection of additional promises
2.0.3

Changed

  • PHP 8.4 support
2.0.2

Changed

  • Replaced call_user_func* with native calls
2.0.1

Changed

  • PHP 8.3 support
2.0.0

Added

  • Added PHP 7 type hints

Changed

  • All previously non-final non-exception classes have been marked as soft-final

Removed

  • Dropped PHP < 7.2 support
  • All functions in the GuzzleHttp\Promise namespace
1.5.3

Changed

  • Removed remaining usage of deprecated functions
1.5.2

Changed

  • Officially support PHP 8.2
1.5.1

Fixed

  • Revert "Call handler when waiting on fulfilled/rejected Promise"
  • Fix pool memory leak when empty array of promises provided
1.5.0

Changed

  • Call handler when waiting on fulfilled/rejected Promise
  • Officially support PHP 8.1

Fixed

  • Fix manually settle promises generated with Utils::task
1.4.1

Fixed

  • Fixed each_limit skipping promises and failing
1.4.0

Added

  • Support for PHP 8
  • Optional $recursive flag to all
  • Replaced functions by static methods

Fixed

  • Fix empty each processing
  • Fix promise handling for Iterators of non-unique keys
  • Fixed method_exists crashes on PHP 8
  • Memory leak on exceptions
1.3.1

Fixed

  • wait() foreign promise compatibility
1.3.0

Added

  • Adds support for custom task queues.

Fixed

  • Fixed coroutine promise memory leak.
1.2.0

Changed

  • Update to now catch \Throwable on PHP 7+
1.1.0

Changed

  • Update EachPromise to prevent recurring on a iterator when advancing, as this could trigger fatal generator errors.
  • Update Promise to allow recursive waiting without unwrapping exceptions.
1.0.3

Changed

  • Update EachPromise to immediately resolve when the underlying promise iterator is empty. Previously, such a promise would throw an exception when its wait function was called.
1.0.1

Changed

  • Updating EachPromise to call next on the underlying promise iterator as late as possible to ensure that generators that generate new requests based on callbacks are not iterated until after callbacks are invoked.
1.0.2

Changed

  • Conditionally require functions.php.
1.0.0
  • Initial release
2.5.0

Deprecated

  • Deprecated passing non-iterable inputs to promise collection helpers and EachPromise
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.
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle
atriumphp/atrium
sandermuller/package-boost-laravel
sandermuller/boost-skills
redaxo/core
yusufgenc/filament-api-forge
l3aro/rating-star-for-filament
leek/filament-subtenant-scope
anil/file-picker
broqit/fields-ai