CodeIgniter Forums
How To Work with Filters in CodeIgniter 4 - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28)
+--- Forum: CodeIgniter 4 Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=31)
+--- Thread: How To Work with Filters in CodeIgniter 4 (/showthread.php?tid=84731)



How To Work with Filters in CodeIgniter 4 - JunaNougsan - 11-04-2022

Filters are like middlewares in CodeIgniter 4, which is used to validate a request before processing. Controller 4 Filters allow us to perform actions either before or after the controllers omegle shagle execution. Unlike events, we can choose the specific URLs in which the filters will be applied to.