Weave 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.
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
cgv/localized-resource