calebeoliveira
5 years ago
6251
37
General

Best practices for custom helpers on Laravel 5

Posted 5 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.