PHPackages                             gioco-plus/hyperf-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. gioco-plus/hyperf-cors

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

gioco-plus/hyperf-cors
======================

hyperf cors component

023.1k↓47.1%1PHP

Since Mar 8Pushed 5y ago2 watchersCompare

[ Source](https://github.com/gioco-play/hyperf-cors)[ Packagist](https://packagist.org/packages/gioco-plus/hyperf-cors)[ RSS](/packages/gioco-plus-hyperf-cors/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (1)

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

[](#component-creater)

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

install
-------

[](#install)

```
composer require "gioco-plus/hyperf-cors"
```

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

[](#publish-config)

```
php bin/hyperf.php vendor:publish gioco-plus/hyperf-cors
```

usage
-----

[](#usage)

```
config/autoload/middlewares.php

return [
    'http' => [
        \GiocoPlus\Cors\Middleware\CorsMiddleware::class,
    ],
];
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity30

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/52188579?v=4)[goldenfdev](/maintainers/goldenfdev)[@goldenfdev](https://github.com/goldenfdev)

---

Top Contributors

[![Yanghsuanming](https://avatars.githubusercontent.com/u/40749214?v=4)](https://github.com/Yanghsuanming "Yanghsuanming (10 commits)")

### Embed Badge

![Health badge](/badges/gioco-plus-hyperf-cors/health.svg)

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

###  Alternatives

[friendsofsymfony/rest-bundle

This Bundle provides various tools to rapidly develop RESTful API's with Symfony

2.8k73.3M319](/packages/friendsofsymfony-rest-bundle)[php-http/discovery

Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations

1.3k309.5M1.2k](/packages/php-http-discovery)[pusher/pusher-php-server

Library for interacting with the Pusher REST API

1.5k94.8M293](/packages/pusher-pusher-php-server)[react/http

Event-driven, streaming HTTP client and server implementation for ReactPHP

78026.4M414](/packages/react-http)[php-http/curl-client

PSR-18 and HTTPlug Async client with cURL

48347.0M384](/packages/php-http-curl-client)[smi2/phpclickhouse

PHP ClickHouse Client

84310.1M71](/packages/smi2-phpclickhouse)

PHPackages © 2026

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