How to define a function in Laravel 5.5 before launching the application

In Laravel 5.5, the file is bootstrap/autoload.phpdeleted. Here I would define a function that overwrites typical Laravel helpers, as in this thread .

How can I achieve the same in release 5.5? I tried requirethe top of the file bootstrap/app.phpwith no luck.

+4
source share
1 answer
+2
source

Source: https://habr.com/ru/post/1689277/


All Articles