PHP code example of qpautrat / reactjs-php-bundle
1. Go to this page and download the library: Download qpautrat/reactjs-php-bundle library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
qpautrat / reactjs-php-bundle example snippets
new QPautrat\ReactjsPhpBundle\ReactjsPhpBundle()
echo $view['reactjs']->renderMarkup('Component', array('foo' => 'bar'))
bash
composer
json
"reactjs/react-php-v8js": "*@dev"