NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #1039 most downloaded on Packagist
Adds CORS (Cross-Origin Resource Sharing) headers support in your Laravel application
Latest stable
v3.0.0
Last release 5 years ago
no release in 18 months
Release timing varies
gaps range from 9 days to 8 months
Some releases are documented
notes for 13 of 49 stable releases
Nothing withdrawn
no release was ever pulled
13 years old
52 releases · first in 2013
Drag across the ruler to compare, or tap a release to open it.
Use the new fruitcake/php-cors stand-alone version instead of asm89/stack-cors. See https://github.com/fruitcake/php-cors/releases/tag/v1.0.0 for more
Use the new fruitcake/php-cors stand-alone version instead of asm89/stack-cors. See https://github.com/fruitcake/php-cors/releases/tag/v1.0.0 for more information
Revert namespace change on minor version See #558 and #557
Revert namespace change on minor version See https://github.com/fruitcake/laravel-cors/pull/558 and https://github.com/fruitcake/laravel-cors/pull/557
3.x will still use fruitcake/php-cors
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Use the new fruitcake/php-cors stand-alone version instead of asm89/stack-cors. See https://github.com/fruitcake/php-cors/releases/tag/v1.0.0 for more
Use the new fruitcake/php-cors stand-alone version instead of asm89/stack-cors. See https://github.com/fruitcake/php-cors/releases/tag/v1.0.0 for more information
Nothing published for this version
To avoid memory leaks with Octane
To avoid memory leaks with Octane (https://github.com/fruitcake/laravel-cors/pull/469)
Nothing published for this version
Add support for Laravel 8, drop unsupported versions.
Add support for Laravel 8, drop unsupported versions.
Uses v2.0.1 of stack-cors, re-enables reflective headers instead of wildcards.
Uses v2.0.1 of stack-cors, re-enables reflective headers instead of wildcards.
asm89/stack-cors 2.x is now used, with these notable changes:
asm89/stack-cors 2.x is now used, with these notable changes:
Nothing published for this version
Nothing published for this version
Don't block CORS requests in Laravel, leave it to the browser
Nothing published for this version
Validate config values when creating the Service, instead of when used.
Validate config values when creating the Service, instead of when used.
Nothing published for this version
Nothing published for this version
php artisan vendor:publish --tag=cors
php artisan vendor:publish --tag=cors
The deprecated Lumen ServiceProvider has been removed.
paths option to match your routescamelCase to snake_case, please update your own config.cors config in Lumen.paths option is added to match certain routes only, while still using global middleware. This allows for better error handling.The deprecated Lumen ServiceProvider has been removed.
paths option to match your routescamelCase to snake_case, please update your own config.cors config in Lumen.paths option is added to match certain routes only, while still using global middleware. This allows for better error handling.Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
The wildcard matcher is changed. You can use allowedOriginPatterns for your own patterns, or simple wildcards in the normal origins. Eg. *.laravel.com
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
The cors alias is no longer added by default. Use the full class or add the alias yourself.
cors alias is no longer added by default. Use the full class or add the alias yourself.Barryvdh\Cors\ServiceProvider::class.Barryvdh\Cors\Stack\CorsService moves to \Barryvdh\Cors\CorsService (namespace changed).Barryvdh\Cors@addActualRequestHeaders will automatically attached when Exception occured.Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.