CodeIgniter Directory Structure — a practical guide to CodeIgniter directory structure with clear examples you can reuse in real projects.
CodeIgniter Tutorial Series (8/74). Prefer one article? Read the complete CodeIgniter tutorial.
Short description
Most of your code lives in `app/` (Controllers, Models, Views, Config). `public/` is the web root. `writable/` stores logs, cache, and uploads.
Key folders
app/Controllers Controllers
app/Models Models
app/Views Views
app/Config Configuration
public/ Web root (index.php)
writable/ Logs, cache, uploads
vendor/ Composer packages