In app folder create helpers.php
Then in composer.json change this:
"autoload": {
"classmap": [
"database"
],
"files": [
"app/helpers.php"
],
"psr-4": {
"App\\": "app/"
}
},
Then do "composer update"
Thank you, it worked, but now the page is loading slower, it takes about 3 seconds for it to load, and i'm on localhost. That is way too much
Ow I didn't experience anything like this, maybe do "composer update -o"
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community