CodeIgniter Basic Tutorial
Performance & Utilities
CodeIgniter Advanced
CodeIgniter is a powerful PHP framework built for developers who need a simple and elegant toolkit to create full-featured web applications. It is known for its small footprint, high performance, and exceptional speed.
MVC (Model-View-Controller) Architecture - Helps organize code into models (data), views (UI), and controllers (logic).
Lightweight and Fast - CodeIgniter is extremely fast compared to other PHP frameworks.
No Need for Template Engine - You can use plain PHP in your views.
Security - Built-in protections against CSRF, XSS, and SQL injection.
Simple Configuration - All configurations are PHP-based — no YAML or XML required.
Rich Set of Libraries - Comes with many libraries for sessions, form validation, email, database, etc.
If you have Composer installed, run this in your terminal:
composer create-project codeigniter4/appstarter my_project
appstarter
: CodeIgniter 4 starter project.
my_project
: Folder where your app will be created.
Once installed, navigate to the project:
cd my_project php spark serve
This command will start a local server at http://localhost:8080