PHPackages                             jarir-ahmed/yii-cors-bypass2 - 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. jarir-ahmed/yii-cors-bypass2

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

jarir-ahmed/yii-cors-bypass2
============================

A package to replace the index.php file in a Yii application to bypass CORS policy for React and Vue.js

1.0.0.0(1y ago)06MITPHPPHP &gt;=7.2

Since Oct 9Pushed 1y ago1 watchersCompare

[ Source](https://github.com/jarir2020/jarir-ahmed-yii-cors-bypass2)[ Packagist](https://packagist.org/packages/jarir-ahmed/yii-cors-bypass2)[ RSS](/packages/jarir-ahmed-yii-cors-bypass2/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Yii CORS Bypass2
================

[](#yii-cors-bypass2)

This package replaces the default `web/index.php` file of a Yii2 application with a version that includes CORS headers. It allows you to work seamlessly with React or Vue.js frontends.

Installation
------------

[](#installation)

Run the following command to install the package via Composer:

```
composer require jarir-ahmed/yii-cors-bypass2
```

###  Health Score

21

—

LowBetter than 17% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity35

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

678d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/20700f34ff813055154e843bbdbe04d33320c1e6a81bbb3301cad67cb8350fd3?d=identicon)[jarircse16](/maintainers/jarircse16)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/jarir-ahmed-yii-cors-bypass2/health.svg)

```
[![Health](https://phpackages.com/badges/jarir-ahmed-yii-cors-bypass2/health.svg)](https://phpackages.com/packages/jarir-ahmed-yii-cors-bypass2)
```

###  Alternatives

[php-http/cache-plugin

PSR-6 Cache plugin for HTTPlug

25026.8M85](/packages/php-http-cache-plugin)[httpsoft/http-message

Strict and fast implementation of PSR-7 and PSR-17

85997.3k131](/packages/httpsoft-http-message)[thesis/nats

Async (fiber based) client for Nats.

758.3k](/packages/thesis-nats)

PHPackages © 2026

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