Provides CORS middleware for PSR-7 and PSR-15 compatible frameworks.
It's recommended that you use Composer to install CORS-PSR7:
$ composer require phpnexus/cors-psr7
This package requires PHP 7.4 or 8.1.
TODO
Please see phpnexus\cors
documentation for configuration options.
The packages adheres to the SemVer specification, and there will be full backward compatibility between minor versions.
Please see CONTRIBUTING for details.
This package is released under the Apache 2.0 License. See the bundled LICENSE file for details.