PHPackages                             jefyokta/oktaax - 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. jefyokta/oktaax

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

jefyokta/oktaax
===============

Oktaax a openswoole http server library

v3.7.0(1y ago)192MITPHPPHP &gt;=8.0

Since Sep 7Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/jefyokta/oktaax)[ Packagist](https://packagist.org/packages/jefyokta/oktaax)[ RSS](/packages/jefyokta-oktaax/feed)WikiDiscussions main Synced 3w ago

READMEChangelogDependencies (4)Versions (38)Used By (0)

Oktaax
======

[](#oktaax)

[![Version](https://camo.githubusercontent.com/b951909e82b1527095a313fa2daec4a70645ddc9e8b8e2310394961f794b5d7d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f76657273696f6e2d76322e302e302d626c7565)](https://camo.githubusercontent.com/b951909e82b1527095a313fa2daec4a70645ddc9e8b8e2310394961f794b5d7d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f76657273696f6e2d76322e302e302d626c7565)[![PHP](https://camo.githubusercontent.com/351755b1ea3b8a079461d461cd8142582eb91df14fea214307a660632576b07a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d382e312532422d626c7565)](https://camo.githubusercontent.com/351755b1ea3b8a079461d461cd8142582eb91df14fea214307a660632576b07a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d382e312532422d626c7565)[![OpenSwoole](https://camo.githubusercontent.com/b7a11ba6aba95fc0e939dc8dda350608d0a453ca137d96204b7054af1b5a7294/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4f70656e53776f6f6c652d436f6d70617469626c652d6f72616e6765)](https://camo.githubusercontent.com/b7a11ba6aba95fc0e939dc8dda350608d0a453ca137d96204b7054af1b5a7294/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4f70656e53776f6f6c652d436f6d70617469626c652d6f72616e6765)[![MIT License](https://camo.githubusercontent.com/f8df3091bbe1149f398a5369b2c39e896766f9f6efba3477c63e9b4aa940ef14/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d677265656e)](https://camo.githubusercontent.com/f8df3091bbe1149f398a5369b2c39e896766f9f6efba3477c63e9b4aa940ef14/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d677265656e)

Oktaax is a lightweight, high-performance PHP HTTP and WebSocket server framework built on **Swoole**. It is designed for real-time applications and API-first workflows with minimal boilerplate, featuring built-in asynchronous programming support with Promises and coroutines.

Table of Contents
-----------------

[](#table-of-contents)

- [🚀 Requirements](#-requirements)
- [📦 Installation](#-installation)
- [🔧 Quick Start](#-quick-start)
- [🌐 HTTP Routing](#-http-routing)
- [🧩 Request API](#-request-api)
- [🧩 Response API](#-response-api)
- [⚡ Asynchronous Programming](#-asynchronous-programming)
- [🔒 Authentication &amp; Security](#-authentication--security)
- [🛠️ Server Configuration](#-server-configuration)
- [🕸️ Middleware](#-middleware)
- [💬 WebSocket Support](#-websocket-support)
- [📊 Error Handling](#-error-handling)
- [📁 File Uploads](#-file-uploads)
- [📊 Benchmarks](#-benchmarks)
- [📚 Examples](#-examples)
- [🤝 Contributing](#-contributing)
- [📄 License](#-license)

---

🚀 Requirements
--------------

[](#-requirements)

- PHP 8.1+
- Swoole extension installed (`pecl install swoole` or `pecl install openswoole`)

---

📦 Installation
--------------

[](#-installation)

```
composer require jefyokta/oktaax
```

---

🔧 Quick Start
-------------

[](#-quick-start)

### Basic HTTP Server

[](#basic-http-server)

```
