I'm new in Laravel (and in frameworks general) and not sure about the right "place" for a formatting function.
A short desciption of my problem: Different tables refer to an enumeration table. The enumeration table keeps a link to an icon, a color, a name and a describtion. I need to format this information in different ways. e.g. "simple" name "detailed" name, description etc...
Now I'm not sure what's best place to put the code:
Thanks in advance, Christian
I would like to solve:
The answer is: "component"