NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #541 most downloaded on Packagist
Cross-origin resource sharing library and stack middleware
Latest stable
v2.4.0
Last release 9 months ago
28 Jan 2026
Release timing varies
gaps range from 2 weeks to 2.0 years
Some releases are documented
notes for 9 of 18 stable releases
Nothing withdrawn
no release was ever pulled
13 years old
21 releases · first in 2013
Drag across the ruler to compare, or tap a release to open it.
Allow Symfony 8. by @longwave in https://github.com/asm89/stack-cors/pull/109
Full Changelog: https://github.com/asm89/stack-cors/compare/v2.3.0...v2.4.0
Test PHP8.4 by @barryvdh in https://github.com/asm89/stack-cors/pull/106
Full Changelog: https://github.com/asm89/stack-cors/compare/v2.2.0...v2.3.0
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Re-support Symfony 4 & 5 and PHP 7.2+
Re-support Symfony 4 & 5 and PHP 7.2+ (https://github.com/asm89/stack-cors/pull/99)
Nothing published for this version
Nothing published for this version
Nothing published for this version
Bug with Access-Control-Allow-Origin header is null then allowedOrigins is ['*'], supportsCredentials is true and Origin header doesn't set
Nothing published for this version
Revert to 1.x behaviour to reflect the allowed headers/methods instead of wildcards.
Revert to 1.x behaviour to reflect the allowed headers/methods instead of wildcards.
CORS headers are better cachable now, with correct Vary headers (#70, #74)
Added typehints Only send rest of the CORS headers when Origin passes
Added typehints Only send rest of the CORS headers when Origin passes
Nothing published for this version
Nothing published for this version
- CORB support - Symfony 5 support
Adds an option allowedOriginsPatterns that expects an array of regex strings. See https://github.com/asm89/stack-cors/pull/45
New release containing several improvements/bug fixes:
New release containing several improvements/bug fixes:
php >= 5.5.9 and Symfony deps now have a lower bound of ~2.7. https://github.com/asm89/stack-cors/pull/41Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.