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.x

1.2.1

Added

  • 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
1.0.0

Removed

  • PSR-7 dependency
1.0.0-RC1

Added

  • Tests for full coverage
0.1.1
0.1.0
Changed
  • Updated package files
  • Clarified wait method behavior
  • Contributing guide moved to the documentation
Added
  • Promise interface
1.2.2

Added - 2025-10-31

  • Compatibility with PHP 8.4
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