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
- Install PHP, Composer, and MySQL/MariaDB.
- Create the project with Composer.
- Run
php spark serveand open the local URL.
Install with Composer
composer create-project codeigniter4/appstarter ci-blog
cd ci-blog
php spark serve