ZealPHP
Open-source PHP framework built on OpenSwoole that keeps the familiar Apache/LAMP-style PHP mental model while modernizing the runtime: a single long-running process handles HTTP, WebSocket, SSE, sessions, shared memory, timers, and task workers. Explores a three-lane migration model — OpenSwoole front-of-house, PHP-FPM-style back-of-house for legacy code, and a coroutine-native path for new code — so existing traditional PHP apps can gain an asynchronous runtime. Includes a handcrafted Learn section that walks through building a Personal Notes + AI Chat app and a multiplayer Tic-Tac-Toe game step by step, and passes PHPStan level 10.
What it addresses
Traditional PHP apps on Apache/PHP-FPM cannot easily adopt asynchronous runtimes; the framework aims to let existing legacy PHP apps gain an async runtime while keeping the simple LAMP mental model.
Shared over time
Each entry reflects what was shared on that date. Details may have changed since then.
ZealPHP
Open-source PHP framework built on OpenSwoole that keeps the familiar Apache/LAMP-style PHP mental model while modernizing the runtime: a single long-running process handles HTTP, WebSocket, SSE, sessions, shared memory, timers, and task workers. Explores a three-lane migration model — OpenSwoole front-of-house, PHP-FPM-style back-of-house for legacy code, and a coroutine-native path for new code — so existing traditional PHP apps can gain an asynchronous runtime. Includes a handcrafted Learn section that walks through building a Personal Notes + AI Chat app and a multiplayer Tic-Tac-Toe game step by step, and passes PHPStan level 10.
Problem: Traditional PHP apps on Apache/PHP-FPM cannot easily adopt asynchronous runtimes; the framework aims to let existing legacy PHP apps gain an async runtime while keeping the simple LAMP mental model.
Audience: PHP developers, including teams maintaining legacy Apache/PHP-FPM applications
Posted by @sibidharan · Original source ↗
Source text · @sibidharan · · Source ↗
I’m working on ZealPHP (https://php.zeal.ninja, MIT), an open-source PHP framework built on OpenSwoole. The idea is to keep the simple Apache/LAMP style PHP mental model, but modernise the runtime: PHP can handle HTTP, WebSocket, SSE, sessions, shared memory, timers, and task workers from one long-running process.