PHPackages                             qpautrat/reactjs-php-bundle - 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. [Templating &amp; Views](/categories/templating)
4. /
5. qpautrat/reactjs-php-bundle

ActiveSymfony-bundle[Templating &amp; Views](/categories/templating)

qpautrat/reactjs-php-bundle
===========================

Render ReactJS component in server side using reactjs/react-php-v8js

1.0.0(10y ago)28571[3 issues](https://github.com/qpautrat/reactjs-php-bundle/issues)MITPHP

Since Aug 11Pushed 10y ago3 watchersCompare

[ Source](https://github.com/qpautrat/reactjs-php-bundle)[ Packagist](https://packagist.org/packages/qpautrat/reactjs-php-bundle)[ Docs](https://github.com/qpautrat/reactjs-php-bundle)[ RSS](/packages/qpautrat-reactjs-php-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (5)Versions (2)Used By (0)

reactjs-php-bundle
==================

[](#reactjs-php-bundle)

Render ReactJS components in server side using [reactjs/react-php-v8js](https://github.com/reactjs/react-php-v8js)

Prerequisites
-------------

[](#prerequisites)

[V8Js PHP extension](http://php.net/v8js)

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

[](#installation)

```
composer require qpautrat/reactjs-php-bundle
```

Whitelist following library in require section until maintainers release a version on packagist

```
"reactjs/react-php-v8js": "*@dev"
```

Register the bundle in your `AppKernel`

```
new QPautrat\ReactjsPhpBundle\ReactjsPhpBundle()
```

Configuration
-------------

[](#configuration)

Add in your `config.yml` file

```
reactjs_php:
    library_path: path_to_reactjs_library
    app_path: path_to_app_components
```

Usage
-----

[](#usage)

Use helper with php engine

```
