PHPackages                             venndev/vosaka-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. venndev/vosaka-http

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

venndev/vosaka-http
===================

The library handles http requests from vosaka.

1.1.9(3mo ago)1241MITPHP

Since Jul 1Pushed 3mo agoCompare

[ Source](https://github.com/vosaka-php/vosaka-http)[ Packagist](https://packagist.org/packages/venndev/vosaka-http)[ RSS](/packages/venndev-vosaka-http/feed)WikiDiscussions main Synced today

READMEChangelog (10)Dependencies (4)Versions (30)Used By (1)

VOsaka HTTP
===========

[](#vosaka-http)

Asynchronous HTTP library for PHP with PSR-7 messages, router, middleware, HTTP client, and HTTP server.

Features
--------

[](#features)

- Async HTTP client (`Browzr`)
- Async HTTP server (`HttpServer`)
- PSR-7 message implementation
- Router with path params
- Middleware stack (CORS, favicon, custom middleware)
- Strict types, PHP 8+

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

[](#installation)

```
composer require venndev/vosaka-http
```

HTTP Server (Current Flow)
--------------------------

[](#http-server-current-flow)

`HttpServer` now runs this pipeline:

`socket -> read -> string buffer -> HTTP parser -> handler -> response builder -> string -> socket write`

This is implemented in:

- [src/vosaka/http/server/HttpServer.php](src/vosaka/http/server/HttpServer.php)

Quick Start (Server)
--------------------

[](#quick-start-server)

```
