Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

SenneVP's avatar

VScode intelephense issues after Laravel 10.x upgrade

Hi all, I recently upgraded my project from laravel 9.x to 10.x. Since then VScode is no longer able to locate the global helper functions (view(), redirect(), abort(), ...). They get underlined in red, and intelephense complains with for example

Undefined function 'App\Http\Controllers\Web\view'.intelephense(1010)

Does any of you know how to fix it? I know VScode is probably not the best IDE for Laravel, but I would prefer to keep using it for now.

0 likes
2 replies
SenneVP's avatar

@hupp disabling, reloading and enabling intelephense did the trick! Thank you!!

3 likes

Please or to participate in this conversation.