Ad

Composer Brings Empty Framework Folder For Laravel

- 1 answer

After today's composer update, I got an error that composer couldn't find vendor/composer/../laravel/framework/src/Illuminate/Foundation/helpers.php

after investigating I found Laravel's framework folder is empty. It's empty even when I am trying to require Laravel outside the project.

Any Ideas or information could be helpful.

For hotfix, I have copied from another project of that folder and pasted to the Laravel's vendor folder.

Ad

Answer

You should clear your local composer cache

composer clearcache
Ad
source: stackoverflow.com
Ad