I would like to create functions that are globally available to reuse the code.
What would be the best way to do this, in laravel ...
The flow I need would be like this:
I will receive a "Route" request
Then I'll process > "Controler" in this case I will have to do several processing so I thought about doing several functions that can be used, in case I will use third party API for processing too. then I'll pass display using > "View Blade".
Any ideas will be welcome ...