Launch offer
Business website $150 USD Custom plugin $200 USD Ready in 5 days
Get a quote
CodeIgniter

CodeIgniter Installation

Install CodeIgniter 4 with Composer and verify the starter app runs locally.

CodeIgniter Installation — a practical guide to CodeIgniter installation with clear examples you can reuse in real projects.

CodeIgniter Tutorial Series (5/74). Prefer one article? Read the complete CodeIgniter tutorial.

Short description

The recommended way to install CI4 is Composer. After install, point your web server to the `public/` folder.

Steps

  1. Install PHP, Composer, and MySQL/MariaDB.
  2. Create the project with Composer.
  3. Run php spark serve and open the local URL.

Install with Composer

composer create-project codeigniter4/appstarter ci-blog
cd ci-blog
php spark serve

Leave a reply

Your email address will not be published. Required fields are marked *