Support the ongoing development of Laravel.io →
Requests Eloquent
Last updated 2 years ago.
0

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"

Last updated 9 years ago.
0

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

0

Ow I didn't experience anything like this, maybe do "composer update -o"

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Joe96 joe96 Joined 28 Apr 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.