Database Migrations in CodeIgniter
Version your database schema with migrations using php spark migrate.
Version your database schema with migrations using php spark migrate.
Fill tables with demo data using seeders for development and testing.
Read query string and form body data using getGet() and getPost().
Collect submitted form fields in a controller and prepare them for validation or saving.
Validate user input with CodeIgniter’s Validation service and show field errors in views.
Create custom validation rules for business-specific checks beyond built-in rules.
Show one-time success/error messages after redirects using session flashdata.
Store user state across requests with CodeIgniter’s session service.
Configure database connections in .env and Database config for local and production.