That fixes the magic methods in the for models but doesn't fix stuff like Auth::routes(). Plus I don't get why its so tedious to get Laravel to be friendly with IDEs. The reason I reference that "Lets Build a Forum" series is because the narrator did not do anything special or tedious and phpStorm worked as it was supposed to. I feel like I am doing something wrong or has Laravel just gotten that bad in IDEs since 5.5 (what was used in the series). If you look at the source for that series, you'll notice there are not ignored items for the IDE helper. In fact the IDE helper package isn't even required anywhere in the
composer.json. Additionally when he initially made the laravel app in the first episode, he didn't have a Laravel Plugin nagging him to enable it when he opened the project.
All in all, the reason I made this thread is to get to the bottom of why Laravel has such bad support in phpStorm (and other various IDEs). It shouldn't need helper files, etc to work properly which is why I am so confused. One of the changes I made that fixed magic methods was to re-add the phpdoc for
Illuminate\Database\Eloquent\Model. I also noticed there used to be a phpdoc for that model but it was removed in a later commit 77d8c23 & 5f879c5.
I'm just a little baffled how some people have no issues with a new Laravel project in phpStorm and then others (like me) have an entirely different experience. I would love to hear from the narrator about how he configured his phpStorm or if this was caused by a recent Laravel update.