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 1mo 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 19% of packages

Maintenance36

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

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

[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)[nyholm/psr7

A fast PHP7 implementation of PSR-7

1.3k235.4M2.4k](/packages/nyholm-psr7)[pusher/pusher-php-server

Library for interacting with the Pusher REST API

1.5k94.8M293](/packages/pusher-pusher-php-server)[spatie/crawler

Crawl all internal links found on a website

2.8k16.3M52](/packages/spatie-crawler)[react/http

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

78126.4M414](/packages/react-http)

PHPackages © 2026

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