Helper functions are just to make writing Laravel views easier, but I feel people will start writing tons of poorly organized functional PHP again.
Never mind, let's learn how to create one.
Create a helpers.php file
First create the file app/helpers.php.
You may wish to try this as your first helper function: