Skip to content

Doz555/Ci4-RouteSpeed

Repository files navigation

CodeIgniter 4 Application Route Speed test

Settings

Setting in app/Config/Events.php Set Events.

Setting in app/Config/Routes.php Set Route.

Setting in app/Controllers/Home.php Set Home.

Testing

  1. Start your app
  2. /1 or /index.php/1 to test route can set number(/?)sec for test speed
  3. / or /index.php to see log

speeds is float 3 decimal places can change in Set Events. Line 36

Server Requirements

PHP version 7.4 or higher is required, with the following extensions installed:

Additionally, make sure that the following extensions are enabled in your PHP:

  • json (enabled by default - don't turn it off)
  • mysqlnd if you plan to use MySQL
  • libcurl if you plan to use the HTTP\CURLRequest library