PHPackages                             twitf/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. twitf/cors

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

twitf/cors
==========

hyperf cors component

v1.0(6y ago)111MITPHPPHP &gt;=7.2

Since Jan 22Pushed 5y ago1 watchersCompare

[ Source](https://github.com/twitf/cors)[ Packagist](https://packagist.org/packages/twitf/cors)[ RSS](/packages/twitf-cors/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (1)Dependencies (6)Versions (2)Used By (0)

component-creater
=================

[](#component-creater)

基于 [spatie/laravel-cors](https://github.com/spatie/laravel-cors),感谢开发者提供这样方便的组件。

install
-------

[](#install)

```
composer create-project hyperf/component-creater
```

publish config
--------------

[](#publish-config)

```
php bin/hyperf.php vendor:publish twitf/cors
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

2308d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2fe40e06ee2df5dc22520dda5a8c036d687c1b898db52c91fdb127df519f7382?d=identicon)[twitf](/maintainers/twitf)

---

Top Contributors

[![twitf](https://avatars.githubusercontent.com/u/23697073?v=4)](https://github.com/twitf "twitf (1 commits)")

---

Tags

corshyperfphphyperf

###  Code Quality

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[hyperf/http-server

A HTTP Server for Hyperf.

102.8M305](/packages/hyperf-http-server)[hyperf/websocket-server

A websocket server library for Hyperf.

12488.7k25](/packages/hyperf-websocket-server)

PHPackages © 2026

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