Link Search Menu Expand Document

Running your app

+There are three ways of running Codeigniter4

  • hosted on web server
  • using visualisation
  • using Codeigniter CLI for testing

It is recommended to read the user guide if you are new to building a dynamic PHP aplication

Local development settings

CodeIgniter 4 comes with a local development server, leveraging PHP’s built-in web server with CodeIgniter routing. You can use the serve script to launch it, with the following command line in the main directory:

php spark serve