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 today

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 18% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity34

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

632d 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

25126.1M82](/packages/php-http-cache-plugin)[illuminate/http

The Illuminate Http package.

11937.9M6.9k](/packages/illuminate-http)[rdkafka/rdkafka

A PHP extension for Kafka

2.2k24.3k1](/packages/rdkafka-rdkafka)[httpsoft/http-message

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

87965.9k114](/packages/httpsoft-http-message)[mezzio/mezzio-router

Router subcomponent for Mezzio

265.4M90](/packages/mezzio-mezzio-router)[serpapi/google-search-results-php

Get Google, Bing, Baidu, Ebay, Yahoo, Yandex, Home depot, Naver, Apple, Duckduckgo, Youtube search results via SerpApi.com

69127.2k](/packages/serpapi-google-search-results-php)

PHPackages © 2026

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