Welcome to CodeIgniter4
Welcome to CodeIgniter4
Server Requirements
Credits
PSR Compliance
License Agreement
Installation
Composer Installation
Manual Installation
Running Your App
Change Logs
Upgrading From a Previous Version
Troubleshooting
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
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 Cells
View Renderer
View Layouts
View Parser
View Decorators
HTML Table Class
HTTP Responses
API Response Trait
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 Functions
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 Manipulation with Database Forge
Database Migrations
Database Seeding
Database Commands
Library Reference
Caching Driver
Cookies
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
Benchmarking
Debugging Your Application
Mocking
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
Contributing to CodeIgniter
Official Packages
CodeIgniter
Edit this page
»
Building Responses
Building Responses
View components are used to build what is returned to the user.
Views
View Cells
View Renderer
View Layouts
View Parser
View Decorators
HTML Table Class
HTTP Responses
API Response Trait
Localization
Alternate PHP Syntax for View Files