talira

CodeIgniter

The small framework with powerful features

open sourceMITself-hostablefree

CodeIgniter is a PHP web framework with a very small footprint (CodeIgniter 4 is a 1.1 MB download) and nearly zero configuration, for developers who want a simple toolkit to build full-featured web applications. It encourages MVC without forcing it, and includes routing with controller filters and attributes, a Query Builder, models and entities, migrations and seeding, views with layouts and cells, validation, sessions, caching, email, image manipulation, a throttler, REST resource handling and API responses, the Spark command line with code generators, and testing helpers. Security features include CSRF and XSS protection, context-sensitive escaping and Content Security Policy. EllisLab created it; since 2019 the CodeIgniter Foundation manages it as a community project. MIT licensed.

Problems it solves

  • a lightweight PHP framework that runs on ordinary shared hosting
  • build a PHP web app with MVC structure without a heavy framework or lots of configuration
  • build a REST API in PHP with resource routing and JSON responses
  • query a database from PHP with a query builder instead of raw SQL
  • protect my PHP forms against CSRF and XSS
  • run database migrations and seeders for a PHP project
  • a PHP framework that is quick to learn, with clear documentation

Features

  • small footprint: a 1.1 MB download
  • routing, controller filters, controller attributes and improved auto routing
  • Query Builder, models, entity classes, migrations, seeding and Database Forge
  • views with layouts, view cells and a view parser
  • RESTful resource handling, API responses and API resources
  • validation, sessions, caching, email, encryption, pagination and image manipulation
  • CSRF and XSS protection, context-sensitive escaping and Content Security Policy
  • Spark command line with code generators
  • testing helpers for controllers, HTTP, databases and CLI commands
  • worker mode
View 1 more
  • PSR compliance

Capabilities

Has a command line toolplan not known

Alternatives

The same job

These do what CodeIgniter does.

  1. Laravel The PHP framework for web artisans.

Compare CodeIgniter with the top 3