CodeIgniter Forums
Avoid using helpers - Printable Version

+- CodeIgniter Forums (
+-- Forum: Using CodeIgniter (
+--- Forum: Best Practices (
+--- Thread: Avoid using helpers (/thread-79001.html)

Avoid using helpers - MrWhite - 04-06-2021

I don't get why pretty much every PHP framework comes with this shit. I wish CI4 helpers were libraries instead of helpers. global methods are the worst thing. hard to test and bad for readability.

Now it's too late. ci4 helpers will be a thing forever. but if you are gonna create custom helpers, please don't! create and use libraries instead.