Installation

Mini4Work runs PHP applications in long-lived worker processes. Each worker receives HTTP requests and sends back the responses your handler returns. The server manages the listener, protocol negotiation and worker pool. You can use it independently of the Mini4Work framework.

Check PHP

Use PHP CLI 8.3 or a later 8.x release on a supported Unix system. Install the package in your application directory. Composer checks for the required pcntl, posix and sockets extensions.

Shell
php -v

Install the package

Shell
composer require mini4work/webserver