Я сделал, composer require fruitcake/laravel-cors После этого добавился пакет ( я композер джсон не проверял) словил тот ексепшн и сделал composer update на всякий случай)
Не совсем, он вместо релиза мажорной версии по какой-то причине неймспейс сменил
The casing on the props in cors.php has changed from camelCase to snake_case, so if you already have a cors.php file you will need to update the props in there to match the new casing.
The casing on the props in cors.php has changed from camelCase to snake_case, so if you already have a cors.php file you will need to update the props in there to match the new casing.