CodeIgniter4-Burner-OpenSwoole

CodeIgniter4 out-of-the-box high-performance server.

Downloads
64
Stars
9
Committers
3

CodeIgniter4-Burner-OpenSwoole

This Library is the OpenSwoole Driver for CodeIgniter4 Burner.

English Document

正體中文文件

Install

Prerequisites

  1. CodeIgniter Framework 4.4.0^
  2. CodeIgniter4-Burner 1.0.0-beta.3
  3. Composer
  4. PHP8^
  5. OpenSwoole 22^, OpenSwoole Pre Requisites
  6. 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