PHPackages                             panwenbin/yii2-cors-options-filter - 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. panwenbin/yii2-cors-options-filter

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

panwenbin/yii2-cors-options-filter
==================================

Yii2 Filter for cors options requests

0.1.1(8y ago)020MITPHPPHP &gt;=5.4.0

Since May 12Pushed 8y ago1 watchersCompare

[ Source](https://github.com/panwenbin/yii2-cors-options-filter)[ Packagist](https://packagist.org/packages/panwenbin/yii2-cors-options-filter)[ RSS](/packages/panwenbin-yii2-cors-options-filter/feed)WikiDiscussions master Synced yesterday

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

What is it
----------

[](#what-is-it)

Filter for cors options request. When Yii2 version below 2.0.15.1, options request will be handled with the action method. see [commit](https://github.com/yiisoft/yii2/commit/6a6d90ce03f53ea36fd4507a1a0f240ed62659b7) . It should only return headers and not do the action. This filter can used at Yii2 version below 2.0.15.1.

*Note*: Access-Control-\* options must be set in Cors Filter

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

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

Every ~29 days

Total

2

Last Release

2942d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9246abb5bc6b21062bebdd5685fb7eda856f3208707e743b848d97a62d81935e?d=identicon)[panwenbin](/maintainers/panwenbin)

---

Top Contributors

[![panwenbin](https://avatars.githubusercontent.com/u/19491104?v=4)](https://github.com/panwenbin "panwenbin (3 commits)")

### Embed Badge

![Health badge](/badges/panwenbin-yii2-cors-options-filter/health.svg)

```
[![Health](https://phpackages.com/badges/panwenbin-yii2-cors-options-filter/health.svg)](https://phpackages.com/packages/panwenbin-yii2-cors-options-filter)
```

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M2.9k](/packages/craftcms-cms)[zhuravljov/yii2-rest

Yii2 REST Client

1186.2k](/packages/zhuravljov-yii2-rest)[tunecino/yii2-nested-rest

Adds nested resources routing support along with related actions and relationship handlers to the Yii RESTful API framework

4716.0k](/packages/tunecino-yii2-nested-rest)

PHPackages © 2026

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