routing
Installation
SKILL.md
CodeIgniter 4 Routing
When to use
- The user wants to attach a before/after filter such as auth or CSRF to specific CodeIgniter routes or groups.
- The user wants to map URLs to controller actions in CodeIgniter 4 by declaring routes in Config/Routes.php.
- The user needs to group CodeIgniter routes under a shared URL prefix, namespace, or filter set.
When NOT to use
- Do not apply this skill to CodeIgniter 3
$route[]array config; CI4 uses a fluent RouteCollection API. - Do not use this skill to write the controller action body itself; routing only maps a URL to a handler.