This is a simple example to create an isomorphic React application in PHP.
To launch the project, you need:
Clone the repository and enter the main directory.
Install node dependencies by running:
npm install
Then install composer dependencies by running:
composer install
Finally, build the React bundle by running:
npm run make
To launch the server, run:
php -S localhost:8080
Access the main application here: http://localhost:8080/app/php