PHPackages                             opw/yii2-react - 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. [Framework](/categories/framework)
4. /
5. opw/yii2-react

AbandonedArchivedYii2-extension[Framework](/categories/framework)

opw/yii2-react
==============

The React.js library extension for the Yii framework

v0.0.3(10y ago)113.3k1[1 issues](https://github.com/opw/yii2-react/issues)MIT LicensePHP

Since May 25Pushed 10y ago1 watchersCompare

[ Source](https://github.com/opw/yii2-react)[ Packagist](https://packagist.org/packages/opw/yii2-react)[ RSS](/packages/opw-yii2-react/feed)WikiDiscussions master Synced 1mo ago

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

React.js Extension for Yii 2
============================

[](#reactjs-extension-for-yii-2)

React.js and JSXTransformer.js Assets

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Add to the require section of your `composer.json` file:

```
"opw/yii2-react": "dev-master"

```

And run in terminal

```
composer update

```

If you see the following error message:

`Your requirements could not be resolved to an installable set of packages.`

Change in the `composer.json` file

```
"minimum-stability": "dev",

```

And add

```
"prefer-stable": true,

```

Usage
-----

[](#usage)

Add to assets/AppAsset.php file:

```
'opw\react\JSXTransformerAsset', // optional
'opw\react\ReactAsset'

```

For don't use JSXTransformer, use [react-tools](https://facebook.github.io/react/docs/getting-started.html#offline-transform) and add your JSX compiled files in AppAsset.php:

```
public $js = [
    'build/HelloWorld.js'
];

```

Further Information
-------------------

[](#further-information)

Please, check the [React.js site](https://facebook.github.io/react/) documentation for further information about its configuration options.

Development
-----------

[](#development)

[![Mobilizy](https://camo.githubusercontent.com/04b5e4b94aadefceed06a99a08a981a6e50bb25eaf45d0771b3ce4caf639e6c9/687474703a2f2f6d6f62696c697a792e636f6d2e62722f626574612f696d672f6c6f676f2e706e67)](http://www.mobilizy.com.br)
*Web &amp; Mobile development*
[www.mobilizy.com.br](http://www.mobilizy.com.br)

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

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 ~1 days

Total

3

Last Release

4010d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b1b4b69e55cc7d79c8f8f2328e17930d11a2de473becc66308e0519302a08824?d=identicon)[opw](/maintainers/opw)

---

Tags

yii2react

### Embed Badge

![Health badge](/badges/opw-yii2-react/health.svg)

```
[![Health](https://phpackages.com/badges/opw-yii2-react/health.svg)](https://phpackages.com/packages/opw-yii2-react)
```

###  Alternatives

[yiisoft/yii2-twig

The Twig integration for the Yii framework

1431.9M32](/packages/yiisoft-yii2-twig)[skeeks/cms

SkeekS CMS — control panel and tools based on php framework Yii2

13825.6k47](/packages/skeeks-cms)[tecnocen/yii2-formgenerator

Yii 2 Library to configure form generator

145.7k](/packages/tecnocen-yii2-formgenerator)

PHPackages © 2026

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