cspray / labrador-http-cors
An Amp http-server middleware library to facilitate CORS
Installs: 9 773
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 3
Forks: 6
Open Issues: 5
Requires
- php: ^7.0 || ^8.0
- amphp/http-server: ^1.0 || ^2.0
Requires (Dev)
- amphp/phpunit-util: ^1.3
- cspray/labrador-coding-standard: 0.2.0
- phpunit/phpunit: ^9.0
README
A PHP 7+ library intended to provide spec-compliant CORS middleware for projects running on Amp's http-server.
Though this library lives under the Labrador namespace it has only one dependency, amphp/http-server
, and does not depend
on any other Labrador packages.
Installation
Composer is the only supported method for installing Labrador packages.
composer require cspray/labrador-http-cors
Documentation
Labrador packages have thorough documentation in-repo in the docs/
directory. You can also check out the documentation
online at https://labrador-kennel.io/docs/http-cors.
Governance
All Labrador packages adhere to the rules laid out in the Labrador Governance repo.