PHPackages                             webpatser/fledge-fiber-http - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. webpatser/fledge-fiber-http

ActiveLibrary[HTTP &amp; Networking](/categories/http)

webpatser/fledge-fiber-http
===========================

Non-blocking Fiber-based HTTP client handler for Fledge/Laravel using amphp

v13.3.0.0(4mo ago)04↑650%MITPHPPHP ^8.5

Since Apr 6Pushed 4mo agoCompare

[ Source](https://github.com/webpatser/fledge-fiber-http)[ Packagist](https://packagist.org/packages/webpatser/fledge-fiber-http)[ RSS](/packages/webpatser-fledge-fiber-http/feed)WikiDiscussions master Synced 4mo ago

READMEChangelogDependencies (7)Versions (3)Used By (0)

Fledge Fiber HTTP
=================

[](#fledge-fiber-http)

Non-blocking, Fiber-based HTTP client handler for [Fledge](https://github.com/webpatser/fledge) and Laravel 13 using [amphp/http-client](https://github.com/amphp/http-client).

Replaces Guzzle's default CurlHandler with an amphp-based handler that suspends PHP Fibers during I/O. Multiple concurrent HTTP requests progress in parallel without blocking.

Requirements
------------

[](#requirements)

- PHP 8.5+
- Fledge / Laravel 13 (with `Factory::globalHandler()` support)
- `amphp/http-client` ^5.3 (included)

Installation
------------

[](#installation)

```
composer require webpatser/fledge-fiber-http
```

The service provider is auto-discovered. All `Http::get()`, `Http::post()`, etc. calls automatically use the non-blocking handler.

How It Works
------------

[](#how-it-works)

Every HTTP request made through Laravel's HTTP client (`Http` facade, `PendingRequest`) is dispatched via amphp's event loop:

1. The request is sent on the socket
2. The current Fiber suspends while waiting for the response
3. Other Fibers progress (database queries, Redis operations, etc.)
4. When the response arrives, the Fiber resumes

All Guzzle middleware (retries, logging, authentication) works unchanged — the handler only replaces the transport layer.

Concurrent Requests
-------------------

[](#concurrent-requests)

Laravel's `Http::pool()` benefits automatically — each request in the pool runs in a separate Fiber:

```
$responses = Http::pool(fn (Pool $pool) => [
    $pool->get('https://api.example.com/users'),
    $pool->get('https://api.example.com/posts'),
    $pool->get('https://api.example.com/comments'),
]);
```

Per-Request Handler Override
----------------------------

[](#per-request-handler-override)

To use a different handler for specific requests:

```
Http::setHandler(new \GuzzleHttp\Handler\CurlHandler)
    ->get('https://example.com');
```

Testing
-------

[](#testing)

```
composer test
```

License
-------

[](#license)

MIT

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance75

Regular maintenance activity

Popularity5

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

137d ago

Major Versions

v0.1.0 → v13.3.0.02026-04-06

### Community

Maintainers

![](https://www.gravatar.com/avatar/e442a1d15a5b64438f3b471acfded80951afb1bed23641cfd80c5254099eab9d?d=identicon)[webpatser](/maintainers/webpatser)

---

Top Contributors

[![webpatser](https://avatars.githubusercontent.com/u/25720?v=4)](https://github.com/webpatser "webpatser (2 commits)")

---

Tags

amphpasyncfiberfledgeguzzlehttplaravelhttpasynclaravelGuzzleamphpfiberfledge

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/webpatser-fledge-fiber-http/health.svg)

```
[![Health](https://phpackages.com/badges/webpatser-fledge-fiber-http/health.svg)](https://phpackages.com/packages/webpatser-fledge-fiber-http)
```

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.2k555.0M2.8k](/packages/aws-aws-sdk-php)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

353.6k](/packages/eslazarev-wildberries-sdk)[psalm/plugin-laravel

Psalm plugin for Laravel

3345.4M354](/packages/psalm-plugin-laravel)[api-platform/laravel

API Platform support for Laravel

58190.1k21](/packages/api-platform-laravel)[simplestats-io/laravel-client

Server-side analytics for Laravel that follows the full funnel from visit to registration to payment, attributed to the channel that drove it. Revenue, MRR, churn and ad-spend profit (ROAS/CAC) per channel. GDPR compliant, ad-blocker proof.

5226.7k](/packages/simplestats-io-laravel-client)[fleetbase/core-api

Core Framework and Resources for Fleetbase API

1239.7k25](/packages/fleetbase-core-api)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
