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

ramazankemal's avatar

barryvdh / laravel-ide-helper setup fails

Hello there, I am having a problem while trying to install an ide-helper.

"composer require --dev barryvdh / laravel-ide-helper"

When I run this command, the error I get is as follows;

Plugin initialization failed (include (/home/vagrant/Projects_Laravel/sanalpos/vendor/composer/package-versions-deprecated/src/PackageVersions/Installer.php): Failed to open stream: No such file or directory), uninstalling plugin

  • Removing composer / package-versions-deprecated (1.11.99.1) Install of composer / package-versions-deprecated failed

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

[RuntimeException] Could not delete / home / vagrant / Projects_Laravel / virtualpos / vendor / composer / package-versions-deprecated / src:

0 likes
2 replies
mvd's avatar

What if you remove the spaces?

composer require --dev barryvdh / laravel-ide-helper

to

composer require --dev barryvdh/laravel-ide-helper

?

ramazankemal's avatar

Unfortunately, my friend, I am already writing correctly. I may just have left a blank space when I write here.

Please or to participate in this conversation.