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.
- CodeIgniter Framework 4.4.0^
- Composer
- PHP8^
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.
-
composer require monken/codeigniter4-burner-openswoole:^1.0@beta
-
composer require monken/codeigniter4-burner-roadrunner:^1.0@beta
-
composer require monken/codeigniter4-burner-workerman:^1.0@beta
After installing the driver, initialize the server files using the built-in commands in the library
php spark burner:init [RoadRunner, Workerman, OpenSwoole]
Run the command in the root directory of your project:
php spark burner:start