Join 4,000+ others and never miss out on new tips, tutorials, and more.
pecl install openswoole-22.0.0 | composer require openswoole/core:22.1.2
Open Swoole server provides the API to write TCP / UDP / UnixSocket servers.
Open Swoole HTTP server provides the API to write HTTP servers.
Open Swoole WebSocket server provides the API to write WebSocket servers.
Open Swoole Redis server provides the API to write TCP servers with Redis protocol.
Open Swoole client provide the API to write TCP/UDP/UnixSocket/HTTP clients, supports IPv4/IPv6 protocol. Developers can write sync or async client side features with swoole client API.
Linux process management module can be used to create new Linux process, manage the processes, and the communication between different processes. Swoole Process Methods List
Open Swoole table is a high performance memory management module, implemented based on shared memory and spin lock.
Open Swoole locks enable PHP developers use locks for data synchronization between multiple theads or processes.
Integer variable allows any processor to atomically test and modify. Implemented based on CPU atomic instructions.
Developers can use Open Swoole EventLoop API to use the system EventLoop.
Schedule functions to run at set intervals, accurate to milliseconds.