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.
anousss007/vigilance
supportpal/eloquent-model
ardenexal/fhir-models
laravel-at/laravel-image-sanitize
romalytar/yammi-audit-log-laravel
ardenexal/fhir-validation
arshaviras/weather-widget
laravel-chronicle/core
sunchayn/nimbus
daikazu/eloquent-salesforce-objects
unseen-codes/chat
romalytar/yammi-jobs-monitoring-laravel
kisame76/filament-db-table-state
nqxcode/laravel-lucene-search
dpfx/laravel-livewire-wizards
workos/workos-php-laravel
sofa/laravel-global-scope
nawasara/auth-primitives
adhocrat-io/arkhe-main
make-dev/orca-harpoon