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

Promise Laravel Package

php-http/promise

Common Promise implementation for PHP-HTTP clients. Provides a lightweight, interoperable way to handle async HTTP responses with then/catch chaining, wait/cancel support, and consistent behavior across multiple HTTP client adapters and PSR-7 message workflows.

View on GitHub
Deep Wiki
Context7
1.3.1
  • Made nullable parameter types explicit (PHP 8.4 compatibility)
1.3.0

Fixed

  • Reverted generic annotations on promise - as then returns another promise, there seems no way to properly document this.
1.2.1
  • Fixed PHPDoc for wait() and then()'s onRejected callable
1.2.0

Added

  • Generic annotations
1.1.0

Added

  • Test with PHP 7.1, 7.2, 7.3, 7.4 and 8.0

Removed

  • PHP 5 and 7.0 support

Fixed

  • Fixed PHPDoc for Promise::then
v1.0.0
v1.0.0-RC1

Hopefully the first and the last

v0.1.0

The Promise interface is extracted from the main repo. See the reasoning in this issue: php-http/httplug#86

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.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport