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

Čamo's avatar
Level 3

Class 'Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider' not found

Hi, I need to install IdeHelperServiceProvider but I am getting error Class 'Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider' not found from composer dum-autoload. Also php artisan does not show ide helper command although I have it in composer and I can see it in vendor directory. What am I doing wrong?

0 likes
2 replies
Nakov's avatar
Nakov
Best Answer
Level 73

Just installed it on Laravel 8 project and the commands are there. You should give more details on what you are doing, which command did you ran?

You should just install it as such composer require --dev barryvdh/laravel-ide-helper and let the auto-discovery do the rest.

And to refresh the autoload the command is composer dump-autoload not dum-autoload.

1 like
Čamo's avatar
Level 3

I needed to reinstall it and now it works. Someone did dirty remove of this library and it stop working. Now it is ok. Thanks.

Please or to participate in this conversation.