Upgrading Laravel 6.14.0 to 7 for my laravel backend app and reading this doc https://laravel.com/docs/7.x/upgrade#upgrade-7.0 I have errors with support of barryvdh/laravel-cors, as I got erorr in console:
Class 'Barryvdh\Cors\ServiceProvider' not found
If to comment 1 line In config/app.php :
// Barryvdh\Cors\ServiceProvider::class,
and reference in app/Http/Kernel.php
I passed console commands(like config cache).
But I got CORS errors in my vue/cli app.
I tried to search in net for Barryvdh\Cors and seems here https://packagist.org/packages/barryvdh/laravel-cors there is support for laravel 7, but if installation was changed?
Also I found this https://github.com/fruitcake/laravel-cors package. Is it replacement of Barryvdh\Cors? Which steps have I to take to run my app as laravel 7?
Thanks!