Welcome to CodeIgniter4
Welcome to CodeIgniter4
Server Requirements
Credits
PSR Compliance
License Agreement
Installation
Composer Installation
Manual Installation
Running Your App
Troubleshooting
Deployment
Change Logs
Upgrading From a Previous Version
CodeIgniter Repositories
Build Your First Application
Static Pages
News Section
Create News Items
Conclusion
CodeIgniter4 Overview
Application Structure
Models, Views, and Controllers
Autoloading Files
Services
Factories
Working with HTTP Requests
Security Guidelines
Design and Architectural Goals
General Topics
Configuration
CodeIgniter URLs
Helper Functions
Global Functions and Constants
Logging Information
Error Handling
Web Page Caching
AJAX Requests
Code Modules
Managing your Applications
Handling Multiple Environments
Controllers and Routing
URI Routing
Controllers
Controller Filters
HTTP Messages
Request Class
IncomingRequest Class
Content Negotiation
HTTP Method Spoofing
RESTful Resource Handling
Building Responses
Views
View Renderer
View Layouts
View Cells
View Parser
View Decorators
HTML Table Class
HTTP Responses
API Response Trait
Content Security Policy
Localization
Alternate PHP Syntax for View Files
Working with Databases
Quick Start: Usage Examples
Database Configuration
Connecting to a Database
Running Queries
Generating Query Results
Query Helper Methods
Query Builder Class
Transactions
Getting Metadata
Custom Function Calls
Database Events
Database Utilities
Modeling Data
Using CodeIgniter's Model
Using Entity Classes
Managing Databases
Database Forge
Database Migrations
Database Seeding
Database Commands
Library Reference
Caching Driver
Cookies
Cross-Origin Resource Sharing (CORS)
CURLRequest Class
Email Class
Encryption Service
Working with Files
File Collections
Honeypot Class
Image Manipulation Class
Pagination
Publisher
Security
Session Library
Throttler
Times and Dates
Typography
Working with Uploaded Files
Working with URIs
User Agent Class
Validation
Helpers
Array Helper
Cookie Helper
Date Helper
Filesystem Helper
Form Helper
HTML Helper
Inflector Helper
Number Helper
Security Helper
Test Helper
Text Helper
URL Helper
XML Helper
Testing
Getting Started
Database
Generating Data
Controller Testing
HTTP Testing
Testing Responses
Testing CLI Commands
Mocking
Benchmarking
Debugging Your Application
Command Line Usage
CLI Overview
Running Controllers via CLI
Spark Commands
Creating Spark Commands
CLI Generators
CLI Library
CLIRequest Class
Extending CodeIgniter
Creating Core System Classes
Replacing Common Functions
Events
Extending the Controller
Authentication
Creating Composer Packages
Contributing to CodeIgniter
Official Packages
CodeIgniter
Helpers
Helpers
Helpers are collections of useful procedural functions. See also
Helper Functions
.
Array Helper
Cookie Helper
Date Helper
Filesystem Helper
Form Helper
HTML Helper
Inflector Helper
Number Helper
Security Helper
Test Helper
Text Helper
URL Helper
XML Helper