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

Ligonsker's avatar

In ProviderRepository.php line 208: Class not found

Since I currently can't use composer commands. What can I do if I get:

In ProviderRepository.php line 208: Class not found

Where should I try to fix that? The file with the class exists. When I click on "Go to definition" it opens the file containing the class

0 likes
6 replies
Ligonsker's avatar

@Nakov thanks, I saw this post, but I don't have config.php file in bootstrap>cache so I guess it's coming from somewhere else

Nakov's avatar

@Ligonsker so you can't run composer locally? Why? And do you get this error on your local environment or production? You removed the bootstrap/cache folder locally or on production? Too many unknowns.

1 like
Ligonsker's avatar

@Nakov security restrictions :/ still working on it to get some local repository working

Tray2's avatar

These kind of issues are extremely hard do track down for several reasons, but the biggest one is that this code exists in the vendor directory, which means that you need to get down and dirty into the inner workings of Laraval, and that my friend requires a shit load of time spent source diving.

I think you should buy the Security guys some lunch so that the will allow you to use Laravel Shift.

1 like
Ligonsker's avatar

@Tray2 🤣🤣😂if that'd work then definitely. But it's not even related to the upgrade yet! I'm just afraid of what's to come when we start to (try) upgrade

Please or to participate in this conversation.