(04-06-2021, 10:23 AM)MrWhite Wrote: 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.
Please be my guest. Write your own PHP framework without that "sh*t" and show that "sh*t" to this community (or some others too) for RFC. By the way AFAIK CI lets to do change/remove something under the hood as far as you know the domain of that framework and call that new framework "Sh*tIgniter". No problem MrWhite you can go to the Moon and Beyond as far as it fits your needs. Me not being rude, just want to get your point and give a thorough explanation what you mean by that, suggest something like that and maybe in the future you will be the one of the core developers of CI.