NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #3844 most downloaded on Packagist
Framework agnostic (PSR-7) CORS implementation (www.w3.org/TR/cors/)
Latest stable
3.0.2
Last release 4 years ago
no release in 18 months
Ships unpredictably
gaps range from 1 weeks to 3.6 years
Most releases are documented
notes for 18 of 23 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
23 releases · first in 2015
Drag across the ruler to compare, or tap a release to open it.
Nothing published for this version
Added CI/CD on GitHub Actions thanks to @sneakyvv.
Added CI/CD on GitHub Actions thanks to @sneakyvv.
Nothing published for this version
Nothing published for this version
Removed debug methods from Settings.
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Removed debug methods from Settings.
Improved performance and caching support;
Fixed incorrect Host header check #28
Host header check #28Dependencies & testing maxtrix are updated #25
Deprecated 'all allowed' value for headers #23. This value for headers is not recognized by browsers and was useful before logging was added. Very eas…
Deprecated 'all allowed' value for headers #23. This value for headers is not recognized by browsers and was useful before logging was added. Very easy to upgrade: just list headers your app need.
Added support for default values in config #21
Added support for default values in config #21
#20 Made Settings easier for extension
#20 Made Settings easier for extension
Nothing published for this version
#17 Fixed incorrect default port value in Settings
#17 Fixed incorrect default port value in Settings
Difference between previous version is that settings keys constants made compatible with parse_url() PHP function.
#17 Added support for caching Settings. Settings could be now configured as array and set from cache.
Difference between previous version is that settings keys constants made compatible with parse_url() PHP function.
#17 Added support for caching Settings. Settings could be now configured as array and set from cache.
#17 Added support for caching Settings. Settings could be now configured as array and set from cache.
- #16 Added support for such non-CORS origins as file:// and other URLs that cannot be parsed with parse_url function
file:// and other URLs that cannot be parsed with parse_url function- #15 Added support for allowing all headers. Logging improved (added suggestion to look to particular config sections).
Add more details to logs when handling non-CORS requests #14
Add description of how to enable debug mode (logging)
Add description of how to enable debug mode (logging)
Previous release appeared to be very stable thus it's time to go version 1. This version adds a debug feature of detailed logging of requests handling
Previous release appeared to be very stable thus it's time to go version 1. This version adds a debug feature of detailed logging of requests handling.
Updated Settings class (breaking change) #11
Settings class (breaking change) #11After some real-life testing some enhancements added and bug fixed
After some real-life testing some enhancements added and bug fixed
* all origins in Settings added #5Host header check made optional #6Nothing published for this version
One column per quarter.