Skip to content

monkenWu/CodeIgniter4-Burner

Repository files navigation

CodeIgniter4-Burner

logo

Burner is an out-of-the-box library for CodeIgniter4 that supports RoadRunner, Workerman, and OpenSwoole high-performance web servers. All you need to do is open a few php extensions to dramatically speed up your CodeIgniter4 applications, allowing them to handle higher loads and more connections at the same time.

English Document

正體中文簡介

Install

Prerequisites

  1. CodeIgniter Framework 4.4.0^
  2. Composer
  3. PHP8^

Composer Install

Use "Composer" to download the library and its dependencies to the project

You can install the appropriate Driver according to your preference.

Each Driver has its own development rules to be aware of, as well as some proprietary server commands, which you can find in their Git repository README files.

After installing the driver, initialize the server files using the built-in commands in the library

php spark burner:init [RoadRunner, Workerman, OpenSwoole]

Run

Run the command in the root directory of your project:

php spark burner:start