CodeIgniter 4
CodeIgniter 4 is a full-stack PHP web framework for building fast, secure websites.
Platform availability
Available on 0 of 6 install platforms
- Unraid (not listed)
- TrueNAS (not listed)
- Umbrel (not listed)
- ZimaOS (not listed)
- Proxmox (not listed)
- Helm (not listed)
Also on Docker Hub and GitHub
Health score
79/100 Good
- Maintained
- 100last commit 13 days ago
- Popular
- 765,986 GitHub stars
- Easy to install
- 250 install platforms, install notes, Docker image
- Light to run
- 100128 MB minimum RAM, runs on ARM
How is this calculated?
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). Factors without data are left out and the rest are rescaled.
- GitHub stars
- 5,986
- Open issues
- 36
- Last commit
- 2026-09-27
- Latest release
- v4.7.4
- License
- MIT
- Activity
- steady
Checked 11 days ago - source: GitHub (codeigniter4/CodeIgniter4)
Resources & Compatibility
Minimum requirements: 128 MB RAM. ARM (e.g. Raspberry Pi) is supported.
Checked 11 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 10 days ago - each note links to its source
Variants
Alternatives (5)
- Anytype - Organizes notes, tasks, and projects offline using Markdown, P2P syncing, and encrypted storage, complemented by dynamic collections on all…
- PHP Generator for MySQL - PHP Generator for MySQL is a PHP code generator for rapid web application development.
- PHPRunner - PHPRunner builds visually appealing web interface for popular databases.
- PHPmaker - PHPMaker is a powerful automation tool that can generate a full set of PHP quickly from MySQL, PostgreSQL, Microsoft Access and Microsoft S…
- Scriptcase - Scriptcase PHP Generator is a powerful tool to increase web development productivity.
Checked 11 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
- What is your thought about Codeigniter 4? : r/webdev - Reddit (reddit)
- CodeIgniter is a powerful Open Source Web App. Framework that ... - Reddit (reddit)
- Codeigniter4 needs more attention : r/PHP - Reddit (reddit)
- no-framework php work adaption into codeigniter: a lot of work? - Reddit (reddit)
Collected 5 days ago - public community threads