# CodeIgniter 4

CodeIgniter 4 is a full-stack PHP web framework for building fast, secure websites. It is open source and self-hosted, installable on Docker Hub.

Canonical page: https://ourlocalhost.com/app/6290/codeigniter-4

## Description

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 9 platforms.

## Health score

79/100 (Good), based on 4 of 4 factors.
- Maintained: 100 (last commit 14 days ago)
- Popular: 76 (5,986 GitHub stars)
- Easy to install: 25 (0 install platforms, install notes, Docker image)
- Light to run: 100 (128 MB minimum RAM, runs on ARM)

## Links

- GitHub: https://github.com/codeigniter4/CodeIgniter4
- Docker Hub: https://hub.docker.com/r/shinsenter/codeigniter4
- Official website: https://codeigniter.com/
- Documentation: https://codeigniter.com/user_guide/index.html

## 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.

## Alternatives

- 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.

---
Source: Our Local Host (https://ourlocalhost.com/app/6290/codeigniter-4), the self-hosted and open-source app directory.
