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

Maintainers

Package info

github.com/jarir2020/jarir-ahmed-yii-cors-bypass2

pkg:composer/jarir-ahmed/yii-cors-bypass2

Statistics

Installs: 6

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.0.0.0 2024-10-09 10:37 UTC

This package is auto-updated.

Last update: 2026-02-09 14:01:59 UTC


README

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

Run the following command to install the package via Composer:

composer require jarir-ahmed/yii-cors-bypass2