CodeIgniter Forums

Full Version: Avoid using helpers
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.