https://github.com/phpnexus/cors-psr7
Provides CORS middleware for PSR-7 compatible frameworks
https://github.com/phpnexus/cors-psr7
Last synced: about 1 month ago
JSON representation
Provides CORS middleware for PSR-7 compatible frameworks
- Host: GitHub
- URL: https://github.com/phpnexus/cors-psr7
- Owner: phpnexus
- License: apache-2.0
- Created: 2016-05-06T05:37:03.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2023-05-02T09:35:34.000Z (about 3 years ago)
- Last Synced: 2025-03-02T10:04:26.380Z (over 1 year ago)
- Language: PHP
- Homepage:
- Size: 63.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CORS-PSR7
[](https://github.com/phpnexus/cors-psr7/releases)
[](LICENSE.md)
Provides CORS middleware for PSR-7 and PSR-15 compatible frameworks.
## Installation
It's recommended that you use [Composer](https://getcomposer.org/) to install CORS-PSR7:
```bash
$ composer require phpnexus/cors-psr7
```
This package requires PHP 8.1 or newer.
## Usage
TODO
## Configuration
Please see [`phpnexus\cors`](https://github.com/phpnexus/cors) documentation for configuration options.
## Versioning
The packages adheres to the [SemVer](http://semver.org/) specification, and there will be full backward compatibility between minor versions.
## Contributing
Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
## License
This package is released under the Apache 2.0 License. See the bundled [LICENSE](https://github.com/phpnexus/cors/blob/master/LICENSE) file for details.