This repository has been archived by the owner on Feb 16, 2023. It is now read-only.
Releases: fruitcake/laravel-cors
Releases · fruitcake/laravel-cors
Add headers in Event Listener
v1.0.6 Check if class exists
Update max_age check, improve tests
v2.0.0-beta2 Update cors-not-working.md
Update to v2
- Don't block CORS requests in Laravel, leave it to the browser
- Update Vary headers for better caching
- Use static/cacheable headers when possible
Validate config file
Validate config values when creating the Service, instead of when used.
v1.0.4: Merge pull request #425 from GrahamCampbell/patch-1
Allow Laravel 8
Support Lumen + L5.5+
Merge pull request #397 from fruitcake/v1-backport Support same as 0.11 dependencies
Add config tag
php artisan vendor:publish --tag=cors
V1
1.0.1
Breaking changes
- Adding the middleware on Route groups is no longer supported. You can use the new
paths
option to match your routes - The config file has been changed from
camelCase
tosnake_case
, please update your own config. - The deprecated Lumen ServiceProvider has been removed.
- There is no need to manually configure the
cors
config in Lumen.
Added
- The
paths
option is added to match certain routes only, while still using global middleware. This allows for better error handling.
v0.11.4: Merge pull request #367 from jasonmccreary/laravel-6
Laravel 6.0 support