cspray/labrador-http-cors

There is no license information available for the latest version (0.3.1) of this package.

An Amp http-server middleware library to facilitate CORS

0.3.1 2021-06-17 10:53 UTC

This package is auto-updated.

Last update: 2024-04-07 12:03:57 UTC


README

GitHub release GitHub license

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.