laravel-cors icon indicating copy to clipboard operation
laravel-cors copied to clipboard

500 Error Class "Fruitcake\Cors\CorsServiceProvider" not found

Open 4n70w4 opened this issue 3 years ago • 2 comments

I just install fruitcake/laravel-cors

composer require fruitcake/laravel-cors
 - Installing asm89/stack-cors (v2.0.3): Extracting archive
 - Installing fruitcake/laravel-cors (v2.0.4): Extracting archive

and all requests gets

image image

File exists in vendors: image image

laravel/framework                      v8.51.0
PHP 8.0.9

4n70w4 avatar Sep 08 '21 16:09 4n70w4

@barryvdh Same issue on me!!!

Can you help ?

shahzodjonweb avatar Nov 17 '21 13:11 shahzodjonweb

Delete vendor folder & run

composer install
In my case, it solved me that issue.

shlomiesses avatar Feb 20 '22 10:02 shlomiesses