PHPackages                             phenixphp/http-cors - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. phenixphp/http-cors

ActiveLibrary[HTTP &amp; Networking](/categories/http)

phenixphp/http-cors
===================

An Amp http-server middleware library to facilitate CORS

0.1.0(2y ago)08831PHPPHP ^8.1

Since May 1Pushed 2y agoCompare

[ Source](https://github.com/phenixphp/http-cors)[ Packagist](https://packagist.org/packages/phenixphp/http-cors)[ RSS](/packages/phenixphp-http-cors/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (1)Dependencies (4)Versions (2)Used By (1)

Labrador HTTP CORS
==================

[](#labrador-http-cors)

[![GitHub release](https://camo.githubusercontent.com/cdd6ad4c5f84762c1a3070a05967ba4ad3750e111b0667ed8d4133a2a2aee4e2/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f6c61627261646f722d6b656e6e656c2f687474702d636f72732e7376673f7374796c653d666c61742d737175617265)](https://github.com/labrador-kennel/http-cors/releases/latest)[![GitHub license](https://camo.githubusercontent.com/69c2792c901ac8bf413800e249f6a85c963f039eaedffd746e416ea4cf6f6c69/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6c61627261646f722d6b656e6e656c2f687474702d636f72732e7376673f7374796c653d666c61742d737175617265)](http://opensource.org/licenses/MIT)

A PHP 7+ library intended to provide spec-compliant CORS middleware for projects running on [Amp's http-server](https://amphp.org/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
------------

[](#installation)

[Composer](https://getcomposer.org) is the only supported method for installing Labrador packages.

```
composer require cspray/labrador-http-cors

```

Documentation
-------------

[](#documentation)

Labrador packages have thorough documentation in-repo in the `docs/` directory. You can also check out the documentation online at .

Governance
----------

[](#governance)

All Labrador packages adhere to the rules laid out in the [Labrador Governance repo](https://github.com/labrador-kennel/governance).

###  Health Score

25

—

LowBetter than 36% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 70.6% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

783d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b240ed2c5244f98507472fecc99cd5285a2d46421d95a38660e98ded9e13954c?d=identicon)[barbosa89](/maintainers/barbosa89)

---

Top Contributors

[![cspray](https://avatars.githubusercontent.com/u/771345?v=4)](https://github.com/cspray "cspray (24 commits)")[![enumag](https://avatars.githubusercontent.com/u/539462?v=4)](https://github.com/enumag "enumag (6 commits)")[![obarbosa89](https://avatars.githubusercontent.com/u/105505191?v=4)](https://github.com/obarbosa89 "obarbosa89 (2 commits)")[![kadarsys](https://avatars.githubusercontent.com/u/17357919?v=4)](https://github.com/kadarsys "kadarsys (1 commits)")[![Nek-](https://avatars.githubusercontent.com/u/972456?v=4)](https://github.com/Nek- "Nek- (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/phenixphp-http-cors/health.svg)

```
[![Health](https://phpackages.com/badges/phenixphp-http-cors/health.svg)](https://phpackages.com/packages/phenixphp-http-cors)
```

###  Alternatives

[danog/madelineproto

Async PHP client API for the telegram MTProto protocol.

3.4k885.1k22](/packages/danog-madelineproto)[php-http/cache-plugin

PSR-6 Cache plugin for HTTPlug

25025.5M80](/packages/php-http-cache-plugin)[illuminate/http

The Illuminate Http package.

11937.2M6.5k](/packages/illuminate-http)[rdkafka/rdkafka

A PHP extension for Kafka

2.2k20.0k1](/packages/rdkafka-rdkafka)[amphp/websocket-server

Websocket server for Amp's HTTP server.

124276.2k26](/packages/amphp-websocket-server)[amphp/http-server-router

Routes to request handlers based on HTTP method and path for amphp/http-server.

39520.3k34](/packages/amphp-http-server-router)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
