amphp/http-tunnel

HTTP/1.1 CONNECT tunnel connector built on the Amp concurrency framework

Package info

github.com/amphp/http-tunnel

pkg:composer/amphp/http-tunnel

Fund package maintenance!

amphp

Statistics

Installs: 995 020

Dependents: 10

Suggesters: 0

Stars: 13

Open Issues: 1

v2.0.0 2025-02-11 01:14 UTC

Requires

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT 049fd211419f99cddc331acb930d2ad53e33b1e6

  • Niklas Keller <me.woop@kelunik.com>

httpconnectasynctunnelconnectoramphp

This package is auto-updated.

Last update: 2026-06-13 02:27:40 UTC


README

👁 License

This package provides an HTTP and HTTPS CONNECT tunnel for PHP based on Amp.

Installation

This package can be installed as a Composer dependency.

composer require amphp/http-tunnel

Examples

More extensive code examples reside in the examples directory.

use Amp\Http\Tunnel\Http1TunnelConnector;

$connector = new Http1TunnelConnector('127.0.0.1:5512');

// $connector may now be used anywhere requiring an instance of Amp\Socket\SocketConnector.

Versioning

amphp/http-tunnel follows the semver semantic versioning specification like all other amphp packages.

Security

If you discover any security related issues, please email me@kelunik.com instead of using the issue tracker.

License

The MIT License (MIT). Please see LICENSE for more information.