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

CodeIgniter Directory Structure

Learn important CodeIgniter 4 folders: app, public, writable, and vendor.

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

Leave a reply

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