B
B
BonBon Slick2017-01-10 20:51:31
Laravel
BonBon Slick, 2017-01-10 20:51:31

Custom function to use in Laravel 5.3 controllers?

No, this is not a class function, this function applies to all controllers.
How to make your function for use in controllers?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
T
Tesla, 2017-01-11
@BonBonSlick

How to connect your function in Laravel template?

W
WQP, 2017-01-10
@WQP

It's called a helper. Create a file and include in autoload

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question