I have found a few guides like this http://www.mackhankins.com/blog/defining-your-own-helper-classes-in-laravel-4 but it isnt really what im looking for as i want to be able to use functions to modify values that arent members of a class.
I have a lot of regex functions that will modify strings if they match a pattern and return a modified string. I want to be able to call these functions as if they were built in php functions. is what i would have always done in the past, but i want to do this right.
This post What are the best practices and best places for laravel 4 helpers or basic functions? seems to be getting closer, but im still not clear on why i would have to instantiate an object just to run a basic function.