~/docs
Resonate
Resonate
13.x 13.43.0.3, current
Fledge Fiber
Toggle sidebar
Fledge Fiber
webpatser/fledge-fiber 13.43.0.3

Fledge Fiber 13.x

Origins

Where the async layer came from, which modules derive from amphp, and how the code is maintained.

Fledge's async layer was ported from the amphp packages on 2026-04-10. amphp is MIT licensed, the original copyright notices are kept in the LICENSE file, and the code has been maintained independently since. Fledge Fiber does not follow amphp releases. The event loop is a separate package, fledge-loop, derived from revolt/event-loop v1.1.0.

fledge-fiber itself is licensed under Apache-2.0. Portions derived from amphp are MIT.

Source of each module

The repository records the upstream package and version each module was based on in ORIGINS.md.

Module Derived from Based on version
Fledge\Async core (Future, cancellations, Interval) amphp/amp v3.1.3
Fledge\Async (Pipeline, Queue, ConcurrentIterator) amphp/pipeline v1.2.7
Fledge\Async\Stream (streams) amphp/byte-stream v2.1.2
Fledge\Async\Stream (sockets, TLS) amphp/socket v2.3.1
Fledge\Async\Stream\Parser amphp/parser v1.1.1
Fledge\Async\Cache amphp/cache v2.0.1
Fledge\Async\Sync amphp/sync v2.3.0
Fledge\Async\Dns amphp/dns v2.4.0
Fledge\Async\File amphp/file v3.2.0
Fledge\Async\Process amphp/process v2.0.3
Fledge\Async\Parallel amphp/parallel v2.3.4, plus one fix from v2.4.0
Fledge\Async\Serialization amphp/serialization v1.1.0
Fledge\Async\Database (Sql interfaces) amphp/sql v2.1.1
Fledge\Async\Database (pooled/common) amphp/sql-common v2.0.4
Fledge\Async\Database\Mysql amphp/mysql v3.1.1
Fledge\Async\Database\Postgres amphp/postgres v2.2.1
Fledge\Async\Redis amphp/redis v2.0.4
Fledge\Async\Http (primitives, cookies, HPack) amphp/http v2.1.2, plus the hpack v3.2.2 chr() fix
Fledge\Async\Http\Client amphp/http-client v5.3.6
Fledge\Async\Http\Server amphp/http-server v3.4.6
Fledge\Async\WebSocket amphp/websocket v2.0.4
Fledge\Async\WebSocket\Client amphp/websocket-client v2.0.2
Fledge\Async\WebSocket\Server amphp/websocket-server v4.0.0

All of these are MIT licensed.

Security fixes present since the import

  • CVE-2025-8671 "MadeYouReset" HTTP/2 DoS, fixed in amphp/http-server v3.4.4: the RESET_STREAM_RATIO sliding-window reset protection in Http/Server/Driver/Http2Driver.php.
  • HTTP/2 ping flood mitigation, from amphp/http-server v3.4.5: a ping counter with ENHANCE_YOUR_CALM in Http/Server/Driver/Http2Driver.php.

Notable differences from the originals

  • Sockets and TLS: the independent verifyPeerName API is removed; verify_peer_name always follows verifyPeer.
  • Debug flag: AMP_DEBUG detection is replaced by a FLEDGE_DEBUG environment flag.
  • PHP version: the PHP_VERSION_ID guards are dropped, because only the latest stable PHP is supported.
  • MySQL: the handshake charset is 45 (utf8mb4_general_ci) instead of 255, which is MySQL 8 only. When TLS is configured the handshake requires CLIENT_SSL, and a server greeting without it fails with SqlConnectionException instead of continuing in plaintext.
  • Postgres: PostgresConfig gains sslCert, sslKey and sslRootCert for Laravel parity.
  • Redis: a structured RedisConfig::fromParameters() constructor, CommandKeySpec for phpredis-style key prefixing and a ReconnectingRedisLink with a read timeout and configurable backoff. Errors inside an array reply (one failing command in EXEC) are kept as values instead of tearing down the shared connection.
  • HTTP client: the Laravel handler bypasses the default HttpClientBuilder pipeline, so Guzzle middleware owns redirects, retries and decompression.

amphp and Revolt remain a source of inspiration, and fixes from either are judged case by case.

Syncing

The repository does not describe a sync process with the amphp packages. It states that Fledge does not track amphp releases.