PHPackages                             xiansongbai/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. xiansongbai/cors

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

xiansongbai/cors
================

解决跨域 学习composer

v1.0.0(6y ago)027PHP

Since Jun 4Pushed 6y agoCompare

[ Source](https://github.com/xiansongbai/cors)[ Packagist](https://packagist.org/packages/xiansongbai/cors)[ RSS](/packages/xiansongbai-cors/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

### 使用

[](#使用)

添加到 $middleware数组 后面

```
\SongBai\Cors\CorsMiddleware::class

发布配置 php artisan vendor:publish

```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity59

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

2532d ago

### Community

Maintainers

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

---

Top Contributors

[![iamxcd](https://avatars.githubusercontent.com/u/45652563?v=4)](https://github.com/iamxcd "iamxcd (2 commits)")

### Embed Badge

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

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

PHPackages © 2026

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