CodeIgniter 4

CodeIgniter 4 is a full-stack PHP web framework for building fast, secure websites.

  • Development
  • Tools & Utilities
CodeIgniter 4 is a full-stack PHP web framework for building fast, secure websites. This app provides a ready-to-use version that installs automatically on your server. It simplifies the setup process, allowing you to launch and run professional web applications quickly without complex manual configuration.

Platform availability

Available on 0 of 10 platforms

  • Unraid (not listed)
  • TrueNAS (not listed)
  • Umbrel (not listed)
  • ZimaOS (not listed)
  • Proxmox (not listed)
  • Helm (not listed)
  • Mac (not listed)
  • Windows (not listed)
  • Linux (not listed)
  • Any server (not listed)

Health score?A 0-100 score computed nightly from four factors: maintained (40%: recent commits and steady activity), popular (25%: GitHub stars, log scale), easy to install (20%: platforms, install notes, setup guides, Docker image) and light to run (15%: minimum RAM, ARM support). When the source code has been checked, a fifth factor, security check (20%: automated scan for committed secrets, unsafe desktop-app settings, known-vulnerable dependencies and project hygiene; any serious finding caps it at 20), is added. Factors without data are left out and the rest are rescaled.

79/100 Good

Maintained
100last commit 5 days ago
Popular
766,016 GitHub stars
Easy to install
250 install platforms, install notes, Docker image
Light to run
100128 MB minimum RAM, runs on ARM
GitHub stars
6,016
Open issues
43
Last commit
2026-11-19
Latest release
v4.7.6
License
MIT
Activity
rising

Checked 5 days ago - source: GitHub (codeigniter4/CodeIgniter4)

Resources & Compatibility

Minimum requirements: 128 MB RAM. ARM (e.g. Raspberry Pi) is supported.

Checked 57 days ago - source: Docker Hub image tags and published docs

First-install notes

  • Set your database details in .env Before starting, edit the .env file, where CodeIgniter keeps main settings, and set the database hostname, database name, username, and password to match your setup. Without this, CodeIgniter can't connect to your database, so anything that saves or reads data will break. source
  • Create a safe sessions folder Create the writable/sessions folder, set its permissions to 0700, and make it owned by the web server user, such as www-data. If this folder is missing or has the wrong permissions, users may not stay logged in and the app may show errors. source
  • Serve only the public folder Point your web server's document root, the folder shown to visitors, to the public folder instead of the whole CodeIgniter folder. If visitors can reach the full app folder, they may be able to access private settings or files that should not be exposed. source

Fetched 56 days ago - each note links to its source

Alternatives (2)

  • Ruby on Rails - Open source full-stack framework using Ruby, offering MVC architecture, Active Record ORM, scaffolding, secure defaults, RESTful design, an…
  • ServBay - ServBay is an AI-native local dev platform for web developers and coding agents.

Checked 43 days ago - source: AlternativeTo

Common questions

How should I configure the web server or reverse proxy for CodeIgniter 4?

Point the web server to the public folder instead of the whole project. Pointing at the project root can expose private settings and framework files.

Where do I set the database connection details?

Edit the .env file and set the database hostname, database name, username, and password. Without these values, data saving and reading will fail.

What permissions should the sessions folder have?

Create the writable/sessions folder, set it to 0700, and make it owned by the web server user such as www-data. Wrong permissions can cause login and session errors.

Where can I find help if the installation does not work?

Use the troubleshooting guide for common installation problems and suggested workarounds. It also covers how to check whether the install is working.

What web security protections are built in?

CodeIgniter includes built-in protection against CSRF and XSS attacks. Version 4 adds context-sensitive escaping and content security policy.

Answers sourced from codeigniter.com, codeigniter.com, github.com, github.com, github.com

Community

Collected 51 days ago - public community threads