monken / codeigniter4-burner-openswoole
CodeIgniter4 out-of-the-box high-performance http/websocket server, OpenSwoole Driver.
v1.0.0-beta.3
2023-10-30 14:11 UTC
Requires
- php: ^8.0 || ^8.1 || ^8.2
- imefisto/psr-swoole-native: ^1.1
- monken/codeigniter4-burner: 1.0.0-beta.3
- nyholm/psr7: ^1.5
- openswoole/core: ^22.1
- openswoole/ide-helper: ^22
Requires (Dev)
- codeigniter/coding-standard: ^1.4
- openswoole/ide-helper: @dev
- rector/rector: 0.12.16
This package is auto-updated.
Last update: 2025-03-01 00:39:19 UTC
README
This Library is the OpenSwoole Driver for CodeIgniter4 Burner.
Install
Prerequisites
- CodeIgniter Framework 4.4.0^
- CodeIgniter4-Burner 1.0.0-beta.3
- Composer
- PHP8^
- OpenSwoole 22^, OpenSwoole Pre Requisites
- How to Install OpenSwoole
Composer Install
You can install this Driver with the following command.
composer require monken/codeigniter4-burner-OpenSwoole:1.0.0-beta.3
Initialize Server files using built-in commands in the library.
The http
parameter will initialize the normal http server configuration file, and if the websocket
parameter is used, it will initialize the websocket-specific (including http) configuration file.
php spark burner:init OpenSwoole [http or websocket]
Start the server.
php spark burner:start