PHPackages                             nodejs-php-fallback/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. nodejs-php-fallback/react

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

nodejs-php-fallback/react
=========================

PHP wrapper to execute babel with react-jsx trasformer plugin or fallback to a PHP alternative.

1.3.1(7y ago)494.7k↓30%12MITPHP

Since Jul 28Pushed 4y ago1 watchersCompare

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

READMEChangelog (6)Dependencies (4)Versions (8)Used By (2)

react
=====

[](#react)

[![Latest Stable Version](https://camo.githubusercontent.com/c79ce5f5b2151261dfadee52661f97d85e0c77025d407d2abcd6573e7c8d5cb5/68747470733a2f2f706f7365722e707567782e6f72672f6e6f64656a732d7068702d66616c6c6261636b2f72656163742f762f737461626c652e706e67)](https://packagist.org/packages/nodejs-php-fallback/react)[![Build Status](https://camo.githubusercontent.com/326125c74b5974dcd258ac7e731f4604167117c70b8d3d6999b94a589503d676/68747470733a2f2f7472617669732d63692e6f72672f6b796c656b617461726e6c732f72656163742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/kylekatarnls/react)[![StyleCI](https://camo.githubusercontent.com/900399ac4bc4f5496257fdf377d532d1a05385c712f68d3f16dcfac90712b4af/68747470733a2f2f7374796c6563692e696f2f7265706f732f36343430393236362f736869656c643f7374796c653d666c6174)](https://styleci.io/repos/64409266)[![Test Coverage](https://camo.githubusercontent.com/e025af0e104e8ae1312abc8f5001a781c790d82a4905f1804dc47041cd60bf78/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f6b796c656b617461726e6c732f72656163742f6261646765732f636f7665726167652e737667)](https://codecov.io/github/kylekatarnls/react?branch=master)[![Code Climate](https://camo.githubusercontent.com/e567f58494e9b418d6b1919c5fa293eed2f601d1933cef3430c0d73dbc2f9f90/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f6b796c656b617461726e6c732f72656163742f6261646765732f6770612e737667)](https://codeclimate.com/github/kylekatarnls/react)

PHP wrapper to execute babel with react-jsx trasformer plugin or fallback to a PHP alternative.

Usage
-----

[](#usage)

First you need [composer](https://getcomposer.org/) if you have not already. Then get the package with `composer require nodejs-php-fallback/react` then require the composer autload in your PHP file if it's not already:

```
