Logging in CodeIgniter
Write application logs with log_message for debugging and auditing.
Write application logs with log_message for debugging and auditing.
Speed up expensive queries and pages using CodeIgniter’s cache service.
Use ResourceController patterns for clean REST index/show/create/update/delete methods.
Return meaningful HTTP status codes with consistent JSON response shapes.
Test your CodeIgniter REST APIs with Postman collections, headers, and environments.
Call external APIs from CodeIgniter using the HTTP client service.
Build a session-based login flow with protected pages and logout.
Create a registration form that validates input and stores a new user securely.
Hash and verify passwords with PHP password_hash and password_verify.
Restrict features by roles such as admin, editor, and user.