PHP Package: amphp/http-server

A powerful PHP library for creating and managing HTTP servers efficiently with asynchronous programming support.

Current Version: 3.4.3
Last Updated: 2025-05-18
PHP Requirement: >=8.1
Dependencies:
amphp/amp
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

The amphp/http-server library offers robust capabilities for developing high-performance HTTP servers in PHP, enabling asynchronous handling and efficient network communication. With advanced features for routing, request processing, and response handling, this library streamlines server-side operations while enhancing scalability and responsiveness. Explore amphp/http-server to leverage cutting-edge solutions for your server application needs.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 3.4.3

Download Download v3.4.3

Previous Versions

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php
// Example from PHPlibraries.com
require_once 'libs/amphp/http-server/3.4.3/loader.php';
require_once 'libs/amphp/amp/3.1.0/loader.php';

use Amp\Http\Server\RequestHandler;
use Amp\Http\Server\RequestHandlerFactory;

$obj = new RequestHandler();
echo '✅ Test OK: ' . get_class($obj);
?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.

Community Discussion

Ask questions, share tips, or report issues below.