calebeoliveira
4 years ago
1159
36
General

Best practices for custom helpers on Laravel 5

Posted 4 years ago by calebeoliveira

Hi, I would like to create some helpers (functions) to avoid repeating code between some views, in L5 style:

Formated text: {{ fooFormatText($text) }}

They are basically text formatting functions. Where and how can I put a file with these functions?

Please sign in or create an account to participate in this conversation.